[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LD_RUN_PATH (was: libtool / C++ / inter library dependencies)
From: |
Michael Forster |
Subject: |
LD_RUN_PATH (was: libtool / C++ / inter library dependencies) |
Date: |
Wed, 4 Oct 2000 10:36:20 +0200 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I wrote:
> Shared C++ Library liba.so,
> Shared C++ Library libb.so,
>
> libb.so depends on liba.so.
>
> [...]
>
> ->ldd libb.so
> liba.so.0 => ./liba.so.0
> libstdc++.so.2.10.0 => (file not found)
I know now, what the problem was: Our local gcc installation depended on
LD_RUN_PATH to hardcode the libstdc++.so path into binaries. Libtool uses
- -R when linking libb.so. This overrides LD_RUN_PATH.
Suggestion: Should libtool add -R flags for every entry in LD_RUN_PATH?
Mike
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
iQA/AwUBOdrd9ceYjj0YYPBiEQKmjACdG3cgplB2aMIRB3kCJwUb9e6rz/UAoN1E
aBUeH3GxnXOIZpQeesEcoIGm
=y37M
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LD_RUN_PATH (was: libtool / C++ / inter library dependencies),
Michael Forster <=