This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: the installing-over-2.0 bug
- To: zack@rabi.phys.columbia.edu (Zack Weinberg)
- Subject: Re: the installing-over-2.0 bug
- From: hjl@lucon.org (H.J. Lu)
- Date: Wed, 27 May 1998 07:29:30 -0700 (PDT)
- Cc: libc-hacker@cygnus.com
>
>
> As I understand it the problem is that ld-linux.so.2 and libc.so.6 are
> interdependent, so if one is from 2.0 and the other is from 2.1, you lose.
> Are these the only libraries like that, or is libdl affected also? In other
> words, will the problem be fixed if I have the install sequence do
>
> install libdl-2.X.Y.so
> ln -s libdl-2.X.Y.so libdl.so.N
>
> ...bunch of other stuff...
>
> install libc-2.X.Y.so
> install ld-2.X.Y.so
> ln -s libc-2.X.Y.so libc.so.6T
> ln -s ld-2.X.Y.so ld-linux.so.2T
> unT libc.so.6T ld-linux.so.2T
>
> or is it necessary to install libdl at the very end with libc and ld.so?
> (unT is a tiny C program that chops T's off the end of file names.)
>
It is very tricky. I don't bother with it. I just put ldconfig.c in
elf. glibc takes care of the rest.
--
H.J. Lu (hjl@gnu.org)