where glibc installed?
I use Centos 5.2 and need to upgrade to glibc 2.7, after sudo install I didn't see /lib/libc* change nor can find my libc.so the cmd I used is:
../glibc-2.7/configure CFLAGS=-O2 LDFLAGS=-m32 --prefix=/usr --disable-profile --enable-add-ons --enable-kernel=2.6.18 --libexecdir=/usr/lib/glibc
the last a few lines of install is:
if test -r /usr/include/gnu/stubs-64.h && cmp -s /home/jdai/Download/glibc-2.7-build/stubs.h /usr/include/gnu/stubs-64.h; \
then echo 'stubs.h unchanged'; \
else /usr/bin/install -c -m 644 /home/jdai/Download/glibc-2.7-build/stubs.h /usr/include/gnu/stubs-64.h; fi
rm -f /home/jdai/Download/glibc-2.7-build/stubs.h
rm -f /home/jdai/Download/glibc-2.7-build/elf/symlink.list
test ! -x /home/jdai/Download/glibc-2.7-build/elf/ldconfig || LC_ALL=C LANGUAGE=C \
CC="gcc" /usr/bin/perl scripts/test-installation.pl /home/jdai/Download/glibc-2.7-build/
Your new glibc installation seems to be ok.
make: Leaving directory `/home/jdai/Download/glibc-2.7'
thanks for help.
32-bit libraries are generally found in /usr/lib and 64-bit ones in /usr/lib64. Look there.
just FYI, you might break something by doing this, so take a backup beforehand
glibc is something highly depended on and changes versions should not be taken lightly
Yes I know. I won't overwrite/delete anything, at maximum I need recreate link other than crush anything. When I upgrade of course I have strong reason to do so.
Yeah it installed as lib64. I need to hack to make 32bit lib. It is always a headache on CentOS 5.2. Anybody knows how to make 32bit app on 64bit OS pls be kindly to let me know. Sometimes I need to add CFLAGS=-m32 LDFLAGS=-m32, yet not always work.
Thanks you very much for spend time t help me,