Issue!!
$ ./gm
./gm: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./gm)
Solution!!
1. Fedora or Ubuntu 최신버젼이 설치 된 OS에서 프로그램 실행!!
2. glibc 업그레이드(백업 후 진행!!)
$ rpm -qa | grep glibc
glibc-common-2.12-1.107.el6.x86_64
glibc-headers-2.12-1.107.el6.x86_64
glibc-2.12-1.107.el6.i686
glibc-devel-2.12-1.107.el6.x86_64
glibc-2.12-1.107.el6.x86_64
# rpm -q --provides glibc | grep libc.so.6 | grep 64bit
libc.so.6()(64bit)
libc.so.6(GLIBC_2.10)(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.12)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.2.6)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.2)(64bit)
libc.so.6(GLIBC_2.3.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.5)(64bit)
libc.so.6(GLIBC_2.6)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libc.so.6(GLIBC_2.8)(64bit)
libc.so.6(GLIBC_2.9)(64bit)
### 해당 패키지에 대해 검색
# repoquery --whatprovides --enablerepo=epel 'libc.so.6(GLIBC_2.14)(64bit)'
### 6.4버젼, EPEL에서도 2.12이상 지원되지 않으므로 Fedora의 glibc-2.14~~.rpm을 다운로드 하여 설치
# wget ftp://mirror.switch.ch/pool/2/mirror/fedora/linux/releases/16/Fedora/x86_64/os/Packages/glibc-2.14.90-14.x86_64.rpm
# wget ftp://mirror.switch.ch/pool/2/mirror/fedora/linux/releases/16/Fedora/x86_64/os/Packages/glibc-common-2.14.90-14.x86_64.rpm
# wget ftp://mirror.switch.ch/pool/2/mirror/fedora/linux/releases/16/Fedora/x86_64/os/Packages/glibc-headers-2.14.90-14.x86_64.rpm
# wget ftp://mirror.switch.ch/pool/2/mirror/fedora/linux/releases/16/Fedora/x86_64/os/Packages/glibc-devel-2.14.90-14.x86_64.rpm
# rpm -Uvh glibc-2.14.90-14.x86_64.rpm glibc-common-2.14.90-14.x86_64.rpm glibc-devel-2.14.90-14.x86_64.rpm glibc-headers-2.14.90-14.x86_64.rpm
# rpm -q --provides glibc | grep libc.so.6
libc.so.6(GLIBC_2.10)(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.12)(64bit)
libc.so.6(GLIBC_2.13)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.2.6)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.2)(64bit)
libc.so.6(GLIBC_2.3.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.5)(64bit)
libc.so.6(GLIBC_2.6)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libc.so.6(GLIBC_2.8)(64bit)
libc.so.6(GLIBC_2.9)(64bit)
Issue!!
isbyeon $ ldd pindel_x86_64
./pindel_x86_64: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./pindel_x86_64)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003f2f400000)
Solution!!
isbyeon $ rpm -q --provides libstdc++
libstdc++ = 4.1.1-52.el5
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(CXXABI_1.3.1)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libstdc++.so.6(GLIBCXX_3.4.1)(64bit)
libstdc++.so.6(GLIBCXX_3.4.2)(64bit)
libstdc++.so.6(GLIBCXX_3.4.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4.4)(64bit)
libstdc++.so.6(GLIBCXX_3.4.5)(64bit)
libstdc++.so.6(GLIBCXX_3.4.6)(64bit)
libstdc++.so.6(GLIBCXX_3.4.7)(64bit)
libstdc++.so.6(GLIBCXX_3.4.8)(64bit)
libstdc++ = 4.1.2-48.el5
libstdc++ = 4.1.1-52.el5
libstdc++.so.6
libstdc++.so.6(CXXABI_1.3)
libstdc++.so.6(CXXABI_1.3.1)
libstdc++.so.6(GLIBCXX_3.4)
libstdc++.so.6(GLIBCXX_3.4.1)
libstdc++.so.6(GLIBCXX_3.4.2)
libstdc++.so.6(GLIBCXX_3.4.3)
libstdc++.so.6(GLIBCXX_3.4.4)
libstdc++.so.6(GLIBCXX_3.4.5)
libstdc++.so.6(GLIBCXX_3.4.6)
libstdc++.so.6(GLIBCXX_3.4.7)
libstdc++.so.6(GLIBCXX_3.4.8)
libstdc++ = 4.1.2-48.el5
isbyeon $ yum whatprovides */libstdc++.so.6.0.9
Rocks-5.4/filelists | 2.9 MB 00:00
extras/filelists_db | 225 kB 00:00
nagios/filelists | 4.6 kB 00:09
updates/filelists_db | 3.9 MB 00:00
No Matches found
isbyeon $ mkdir ~/lib64
isbyeon $ wget http://ftp.stw-bonn.de/pub/fedora/linux/releases/10/Fedora/x86_64/os/Packages/libstdc++-4.3.2-7.x86_64.rpm
isbyeon $ rpm2cpio libstdc++-4.3.2-7.x86_64.rpm | cpio -i --make-directories
isbyeon $ mv usr/lib64/libstdc++.so.6* lib64/
isbyeon $ rm -rf usr
isbyeon $ export LD_LIBRARY_PATH=/home/phosphoros/lib64:$LD_LIBRARY_PATH
isbyeon $ ldd pindel_x86_64
libstdc++.so.6 => /home/isbyeon/lib64/libstdc++.so.6 (0x00002b2ffd34e000)
'Linux > CentOS' 카테고리의 다른 글
[CentOS] CentOS 6에 NTFS 파일시스템 마운트 (0) | 2013.08.07 |
---|---|
[TIPS] Argument list too long(ls => find) (0) | 2013.08.01 |
[manual]CentOS, RHEL (0) | 2013.06.05 |
Unable to launch GUI as the X server display utility (xdpyinfo) not found, Exiting . (0) | 2013.04.04 |
X11 포워딩 및 DISPLAY 변수 문제 (0) | 2013.02.15 |
최근댓글