bug-glibc
[Top][All Lists]
Advanced

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

Re: cvs glibc install fails


From: Tim Burgess
Subject: Re: cvs glibc install fails
Date: Tue, 26 Jun 2001 15:11:51 -1000
User-agent: Mozilla/5.0 (X11; U; Linux 2.4.5 i686; en-US; rv:0.9) Gecko/20010505

Justin Guyett wrote:

On Tue, 26 Jun 2001, Tim Burgess wrote:

When I do a 'make install' however, I get this:
: /usr/lib/librt_p.a
make[2]: Leaving directory `/home/tim/dump/libc/rt'
make  -C conform subdir_install
make: error while loading shared libraries: /lib/librt.so.1: symbol
__pthread_clock_
settime, version GLIBC_2.2.3 not defined in file libpthread.so.0 with
link time refe rence


this happens on my redhat 7.1 systems when recompiling, because ldconfig
failes to re-symlink libc.so.6 to the libc-2.2.3.so, and libc-2.2.2.so,
which is what it's symlinked to, obviously has no GLIBC_2.2.3 symbol.
try rm'ing libc.so.6 and recreating it as a link to the new libc-2.2.3.so.
(but of course if the library is screwed up your system will be hosed,
make sure you have static file utilities around somewhere to point the
link back at libc-2.2.2.so if things break).


justin

Hmm. I actually installed 2.2.3 as a Debian package previously so I'm not running 2.2.2 at all So now I'm very puzzled as to why this GLIBC_2.2.3 reference isn't defined...

$ ls -l libc.so.6
lrwxrwxrwx 1 root root 13 Jun 26 08:43 libc.so.6 -> libc-2.2.3.so
$ ls -l libc-2.2.3.so
-rwxr-xr-x    1 root     root      4800046 Jun 26 09:01 libc-2.2.3.so
$ ls -l libpthread*
-rwxr-xr-x    1 root     root       445896 Jun 26 09:03 libpthread-0.9.so
-rwxr-xr-x    1 root     root       106051 Jun 25 12:33 libpthread-2.2.3.so
lrwxrwxrwx 1 root root 19 Jun 25 12:31 libpthread.so -> libpthread-2.2.3.so lrwxrwxrwx 1 root root 19 Jun 26 08:43 libpthread.so.0 -> libpthread-2.2.3.so

Checking, the libc I built this morning is there and linked properly.

I did manage to screw my libc BTW. I simply booted from a rescue floppy disk then a root floppy disk, mounted my partition in /mnt then went to /mnt/lib to do the
appropriate fixes. Would have been nice to know about sln tho...

Tim






reply via email to

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