-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Samstag, 10. Januar 2009 19:32:23 schrieb John Mandereau: > Reinhold Kainhofer a écrit : > > Am Samstag, 10. Januar 2009 18:49:40 schrieb John Mandereau: > >> 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 > > /usr/lib/libltdl.so > > /usr/lib/libltdl.so.7 > > /usr/lib/libltdl.so.7.1.2 > > This tells libtool-ltdl is installed, but it tells you nothing about > libtool-ltdl-dev; is /usr/include/ltdl.h present on your system?
Yes, of course: lilyp...@server:~$ locate ltdl.h /home/lilypond/gub/target/tools/root/usr/include/ltdl.h /home/lilypond/gub/target/tools/root/usr/share/libtool/libltdl/ltdl.h /usr/include/ltdl.h /usr/share/libtool/libltdl/ltdl.h The problem is that configure is called with the following arguments: /home/lilypond/gub/target/tools/src/guile-release_1-8-5/configure -- prefix=/home/lilypond/gub/target/tools/install/guile-release_1-8-5-root/usr -- prefix=/home/lilypond/gub/tar get/tools/root/usr --enable-shared --enable-static CFLAGS=- I/home/lilypond/gub/target/tools/root/usr/include LDFLAGS=- L/home/lilypond/gub/target/tools/root/usr/lib --without-threa ds --with-gnu-ld --enable-deprecated --enable-discouraged --disable-error-on- warning --enable-relocation --disable-rpath The LDFLAGS are then passed to the compiler for the configure check for size of char. From the configure log file: configure:22123: checking size of char configure:22425: gcc -o conftest - I/home/lilypond/gub/target/tools/root/usr/include - L/home/lilypond/gub/target/tools/root/usr/lib conftest.c -lltdl >&5 configure:22428: $? = 0 configure:22434: ./conftest ./conftest: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory configure:22437: $? = 127 configure: program exited with status 127 So, ./conftest ist linked to libltdl from /home/lilypond/gub/target/tools/root/usr/lib (explicitly given library paths take precedence), but when the configure script calls ./conftest, the LD_LIBRARY_PATH does not include that directory any more (and no rpath was given to the compiler) -> ERROR The error occurs with the size of char configure check, because that's the first case, where the compiled test case is actually run. Cheers, Reinhold - -- - ------------------------------------------------------------------ Reinhold Kainhofer, reinh...@kainhofer.com, 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) iD8DBQFJaPWOTqjEwhXvPN0RAqejAJ9OQ9FDV6vPF0Q8lINa8VMONjNXFwCgynxL HELo8ciWguanX6Vcgd2IEo4= =ed4/ -----END PGP SIGNATURE----- _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel