Re: LSB wrapper library
On Tue, Apr 03, Matt Wilson wrote:
> Right, but ld-lsb.so.1 can be fixed.
>
> On Tue, Apr 03, 2001 at 04:07:29PM +0200, Andreas Jaeger wrote:
> >
> > Ok, let's do some hacks to show what will happen:
> >
> > $ LD_LIBRARY_PATH=/lib:/usr/lib LD_PRELOAD=libreadline.so:libncurses.so LD_DEBUG=libs /lib/lsb/ld-lsb.so.1 /bin/cat
> >
> > 13868:
> > 13868: find library=ld-linux.so.2; searching
>
> insert special case in ld-lsb.so.1 here - simply continue and don't
> load ld-linux.so.2.
>
> It make be a bit ugly, but it should work...
It will not work if one library is linked against a newer ld-linux.so.2
than ld-lsb.so.2 is. In this case, we could get unresolvable symbols
since the symbol version in ld-linux.so.2 is higher.
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg
Linux is like a Vorlon. It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.
Reply to: