lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation/devel/


From: Reinhold Kainhofer
Subject: Re: Documentation/devel/
Date: Sat, 10 Jan 2009 18:56:50 +0100
User-agent: KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; )

-----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:
address@hidden:~$ 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, address@hidden, 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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]