bug-glibc
[Top][All Lists]
Advanced

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

Problem in installing glibc 2.2.4 on Redhat 7.1 (server installat ion)..


From: Manish Kumar Srivastava
Subject: Problem in installing glibc 2.2.4 on Redhat 7.1 (server installat ion)...
Date: Fri, 31 Aug 2001 19:25:51 +0530

Hi All, 

It all started when I found that glibc 2.2.2 doesn't support functions 
like shm_open. Whereas glibc 2.2.3 does have.

Refer http://uwsg.iu.edu/hypermail/linux/kernel/0104.3/0181.html

I decided to install glibc 2.2.4 on my system (Redhat 7.1, server
installation). I tried to install it in both ways, primary (/usr) and
secondary (/usr/local). But its not working.

In primary installation, make install fails in the final step giving
message:

/tmp/test-prg3657: 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 reference 
Execution of test program failed at scripts/test-installation.pl line 197.
make[1]:  *** [install] Error 29
make[1]: Leaving directory '/home/mks/glibc-2.2.4'
make: *** [install] Error 2

I guess there is some error in symbolic links, but where, I am unable
to figure out, reason being, "ls -l" doesn't work and many/every 
other thing like shutdown, reboot etc.

When I tried to install it as secondary library, the installation is
done properly. Before "make install" I copy /etc/ld.so.conf to 
/usr/local/etc/ld.so.conf. And then I go thru following steps 
successfully, 

# ln -sf /usr/local/lib/ld-2.2.4.so /lib/ld-linux.so.2
# /usr/local/sbin/ldconfig -v
# export LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib

After these steps, ldd on /bin/ls etc indicates that it is picking
the secondary library. But when I reboot, all is in disarray. The
system doesn't reboot. Usually saying
/bin/sh: unable to load shared library libtermcap.so.2 ...

For that I tried putting the export LD_LIBRARY_PATH and ldconfig
commands in the /etc/init.d/functions or /etc/rc files. But it didn't
work.

Every time I have to reinstall Linux on my system. Kindly tell me 
what steps I am missing ? Or what's wrong ? I posted a similar 
message earlier also, but didn't get any reply. Hope to get a 
response this time.

Thanks in advance

Manish



reply via email to

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