bug-glibc
[Top][All Lists]
Advanced

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

Re: glibc 2.2.5


From: Hactar
Subject: Re: glibc 2.2.5
Date: Sun, 21 Apr 2002 12:49:24 -0400

Andreas Jaeger wrote:
> 
> address@hidden writes:
> 
> > I finished compiling and installing gcc and glibc.  Now I can't execute
> > any dynamic binaries.  They complain:
> >
> > date: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by
> > /usr/local/lib/libc.so.6)
> > date: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by
> > /usr/local/lib/libc.so.6)
> >
> > I have to use the few statically-linked binaries I have around for just
> > such an occasion, and
> >
> > /usr/local/lib/ld-2.2.5.so <binary>
> >
> > for the rest.

> >  I've got
> >
> > /lib/libc.so.6 -> /usr/local/lib/libc-2.2.5.so
> > /lib/ld-linux.so -> /usr/local/lib/ld-2.2.5.so
> > /usr/local/lib/ld-linux.so.2 -> ld-2.2.5.so
> 
> Everything that'S in usr/local should be linked...
> 
> > Do I need anything else?  Thanks.
> 
> You've broken your installation since /lib/ld-linux.so.2 is hardcode
> into each binary.

So either each glibc upgrade from whenever on is going to be odd, or I
have to recompile all my binaries?  Is there any way to put glibc really
where it should be and put links to where programs look?  Maybe that way
I could migrate slowly, and upgrades might work.

> I strongly suggest to remove that broken
> installation and start with --prefix=/usr

Ah.  OK.  I'll edit configure so it uses a statically-linked shell.

<pause>

Did that, and configure complained about sed and rm.  So I fixed those. 
Then it complained like this:

rm: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by
/usr/local/lib/libc.so.6)
rm: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by
/usr/local/lib/libc.so.6)
sed: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by
/usr/local/lib/libc.so.6)
sed: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by
/usr/local/lib/libc.so.6)
loading cache ./config.cache
grep: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by
/usr/local/lib/libc.so.6)
grep: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by
/usr/local/lib/libc.so.6)
configure: error: can not run scripts/config.sub

I changed scripts/config.sub to use a statically-linked shell, but I
couldn't find any 'rm' in it.

There's no 'uninstall' target in the Makefile.  How do you propose I
should uninstall the erroneous installation?  Also, how do you make
"make" call a different make (like, say, "/lib/ld-linux.so
/usr/local/bin/make")?  Is there an environment variable, maybe $MAKE?

Thanks.



reply via email to

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