GNOME Bugzilla – Bug 587993
Can't install to a custom --prefix location
Last modified: 2009-09-01 17:55:11 UTC
Please describe the problem: When using a custom --prefix location in each of the 3 configure scripts (librep, rep-gtk, sawfish), the first 2 compile/install correctly, but sawfish 'make' fails. Steps to reproduce: 1. ./configure --prefix=/any/path/somewhere 2. make Actual results: Make fails with: SAWFISHLISPDIR=. SAWFISHEXECDIR=../src/.libexec SAWFISHDOCFILE=../DOC ../src/sawfish --batch --no-rc compiler -f compile-batch sawfish/wm.jl ../src/sawfish: error while loading shared libraries: librep.so.9: cannot open shared object file: No such file or directory make[1]: *** [sawfish/wm.jlc] Error 127 Expected results: I'd expect 'make' to succeed in compiling sawfish. Does this happen every time? Yes. Other information: The same --prefix was given to librep and rep-gtk and they configure/make/make install correctly to the custom location. Only sawfish 'make' fails.
That's because you need to adjust the ld paths, eg add the file /etc/ld.so.conf.d/sawfish.conf with the following content "/path/to/somewhere/lib" this should fix your issue, as ld simply does not now about librep before. This should not be a sawfish bug, that would be strange.
err, you might also need to run "ldconfig" as root afterwards.
fixed last bit of that in librep 0.90.1