glibc compile bombed

Net Llama! netllama
Mon May 17 11:37:41 PDT 2004


Tim Wunder wrote:
> On Saturday 14 September 2002 07:03 pm, Tim Wunder wrote:
> 
>>Following the SxS, I attempted to install Glibc-2.2.5 and ran into another
>>error (what else is new?). Here goes:
>>after executing 'make && make install && make localedata/install-locales',
>>the compile process was off and running. It stopped here:
>>error while loading shared libraries: /lib/libpthread.so.0: undefined
>>symbolL _dl_cpuclock_offset.
>>[resolv/subdir-install] Error 127
>>
>>I managed to recover by preforming an
>>'rpm -ivh --force --replacefiles' on the glibc 2.2.4-24 rpms I built from
>>Caldera SRPMs yesterday.
>>
>>That same error would rear it's head when I tried to execute and 'ls'
>>command. Fortunately, I remembered where I put my RPMs so it wasn't a gin
>>problem. 'cd' worked, as did, obviously, 'rpm'.
>>
>>Any ideas as to what could have gone wrong?
>>
> 
> <snip>
> 
> Or, *did* it work?
> $ ll /lib/libc*
> -rwxr-xr-x    1 root     root      1458797 Sep 13 12:35 /lib/libc-2.2.4.so
> -rwxr-xr-x    1 root     root      4944629 Sep 14 15:48 /lib/libc-2.2.5.so
> lrwxrwxrwx    1 root     root           13 Sep 14 20:10 /lib/libc.so.6 -> 
> libc-2.2.5.so
> lrwxrwxrwx    1 root     root           11 Aug  5  2001 /lib/libcap.so -> 
> libcap.so.1
> lrwxrwxrwx    1 root     root           14 Aug  5  2001 /lib/libcap.so.1 -> 
> libcap.so.1.10
> -r-xr-xr-x    1 root     root         9769 Apr 20  2001 /lib/libcap.so.1.10
> lrwxrwxrwx    1 root     root           17 Aug  5  2001 /lib/libcom_err.so.2 
> -> libcom_err.so.2.0
> -rwxr-xr-x    1 root     root         8234 Apr 20  2001 /lib/libcom_err.so.2.0
> -rwxr-xr-x    1 root     root        26897 Sep 13 12:35 /lib/libcrypt-2.2.4.so
> -rwxr-xr-x    1 root     root        71740 Sep 14 18:41 /lib/libcrypt-2.2.5.so
> lrwxrwxrwx    1 root     root           17 Sep 14 20:10 /lib/libcrypt.so.1 -> 
> libcrypt-2.2.5.so
> 
> I'm *really* confused, now...

Reboot.  If nothing is broken afterwards, then you're in business. 
Compile something small, and run ldd against it, and see if its using 
the new libs.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   5:15pm  up 40 days,  1:36,  3 users,  load average: 0.10, 0.28, 0.33



More information about the Linux-users mailing list