-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Samstag, 10. Januar 2009 18:49:40 schrieb John Mandereau: > Hi Reinhold, > > Reinhold Kainhofer a écrit : > > So, apparently, ./conftest can't find the libltdl.so.3 any more (which it > > was linked against), since the tools directory is no longer in > > LD_LIBRARY_PATH... It seems that while building (and of course also when > > running) all the tools, we still need the tools directory in the > > LD_LIBRARY_PATH... > > On the other hand, when compiling/linking, the LD_LIBRARY_PATH pathes > > should be ignored to prevent linking to libraries in tools/ ... Hmm, to > > be honest, I have no real idea of the correct way to handle this! > > Have you tried installing libtool-ltdl-devel (or whatever this Fedora > package is called on Ubuntu) system-wide?
Yes, it is installed: lilyp...@server:~$ locate libltdl.so /home/lilypond/gub/target/tools/root/usr/lib/libltdl.so /home/lilypond/gub/target/tools/root/usr/lib/libltdl.so.3 /home/lilypond/gub/target/tools/root/usr/lib/libltdl.so.3.1.4 /usr/lib/libltdl.so /usr/lib/libltdl.so.7 /usr/lib/libltdl.so.7.1.2 The problem is that the configure script explicitly passes - L/home/lilypond/gub/target/tools/root/usr/lib/ to the linker, so the one in tools takes precedence when linking... As a consequence, when running the test program, we need to set LD_LIBRARY_PATH (or make sure that it gets linked to the system-wide library rather than the local library in tools). Cheers, Reinhold - -- - ------------------------------------------------------------------ Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFJaOFjTqjEwhXvPN0RAv6QAJ9xpFjvP4S4AkFfmK1UpMqq/BOsRwCgy0u9 HCkkaqqE58nsTCAEimOOadI= =45ut -----END PGP SIGNATURE----- _______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
