centos 업그레이드 glibc

1472 단어 glibc
/lib/libc.so.6: version `GLIBC_2.7' not found (required by your program or library name)
이 는 RedHat 의 glibc 버 전이 너무 낮 다 는 뜻 이다. glibc, http://ftp.gnu.org/gnu/glibc/ glibc-libidn-2.7.tar.bz2 glibc-linuxthreads-2.5.tar.bz2, : 1)     /home/mytmp 2)     glibc-libidn-2.7.tar.bz2 mytmp ,/home/mytmp/glibc-2.7 3)     linuxthreads-2.5.tar.bz2 glibc-2.7 , /home/mytmp/glibc-2.7/linuxthreads /home/mytmp/glibc-2.7/linuxthreads/linuxthreads_db 4)     mytmp , 5)     export CFLAGS="-g -O2 -march=i486" 6)     glibc-2.7/configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin --disable-sanity-checks 7)     make 8)     make install 9)     ls -l /lib/libc.so.6
lrwxrwxrwx 1 root root 11 Nov 12 09:24 /lib/libc.so.6 -> libc-2.7.so
libstdc++.so.6.10 libstdc++.so.6.13 , , 2.7
1、 glibc-linuxthreads glibc 。
2、 glibc configure。
3、 ,export CFLAGS="-g -O2 -march=i486",
'#error "glibc cannot be compiled without optimization"'

좋은 웹페이지 즐겨찾기