default linker for shared libraries, need some comments
Yaroslav Popovitch
yp@sot.com
Fri Apr 25 13:21:00 GMT 2003
On Fri, 25 Apr 2003, Andreas Jaeger wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 24 April 2003 22:31, Yaroslav Popovitch wrote:
> > Hi! I had some problems with setting default linker for shared libraries.
> > They are always linked against ld-linux.so.2. Option --dynamic-linker
> > works only for usual programs.
>
> Why are you trying to do this? It sounds like a real hack. You always need
> to link against the same dynamic linker as the C library comes from. So,
> even if you would succeed, you might have a dynamic linker that does not work
> with the C library that you have and your program will break badly.
This is related to lsb runtime implementation. At this moment
/lib/ld-lsb.so.1 is a link to /lib/ld-linux.so.2. I found that
applications compiled with patched gcc are linked against
/lib/ld-lsb.so.1. But shared libraries are still linked against
ld-linux.so.2. I was trying to solve this problem.
>
> Andreas
> - --
> Andreas Jaeger
> SuSE Labs aj@suse.de
> private aj@arthur.inka.de
> http://www.suse.de/~aj
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
>
> iD8DBQE+qP1jOJpWPMJyoSYRAsN4AJ0WrAiasgrLHCE9xGELWcCzYDfQugCfc5ic
> x4NJnwxC8ANiUpIm6FzXP78=
> =EQNL
> -----END PGP SIGNATURE-----
>
-
Mr. Yaroslav Popovitch yp@sot.com - tel. +372 6419975
SOT Finnish Software Engineering Ltd. - fax +372 6419975
Kreutzwaldi 7-4, 10124 TALLINN - http://www.sot.com
ESTONIA - http://sotlinux.net
More information about the Libc-alpha
mailing list