R******d 发帖数: 1436 | 1 现在装的是centos7,安装某个软件的时候提示:
系统是:readhat 5.2 64bit glibc 02.17
需要:readhat 6.1 64bit glibc 02.11.01 才能安装。
查了一下,02.17好像往下兼容02.11啊。请问有什么办法再装个低版本的glibc?现在
的环境软件安装不上了。
谢谢
rpm -q glibc,提示:
glibc-2.17-55.el7_0.1.x86_64
glibc-2.17-55.el7_0.1.i686
strings /lib/libc-2.17.so |grep GLIBC,提示:
GLIBC_2.0
GLIBC_2.1
GLIBC_2.1.1
GLIBC_2.1.2
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.2.1
GLIBC_2.2.2
GLIBC_2.2.3
GLIBC_2.2.4
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_PRIVATE |
R******d 发帖数: 1436 | 2 现在装的是centos7,安装某个软件的时候提示:
系统是:readhat 5.2 64bit glibc 02.17
需要:readhat 6.1 64bit glibc 02.11.01 才能安装。
查了一下,02.17好像往下兼容02.11啊。请问有什么办法再装个低版本的glibc?现在
的环境软件安装不上了。
谢谢
rpm -q glibc,提示:
glibc-2.17-55.el7_0.1.x86_64
glibc-2.17-55.el7_0.1.i686
strings /lib/libc-2.17.so |grep GLIBC,提示:
GLIBC_2.0
GLIBC_2.1
GLIBC_2.1.1
GLIBC_2.1.2
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.2.1
GLIBC_2.2.2
GLIBC_2.2.3
GLIBC_2.2.4
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_PRIVATE |
R******d 发帖数: 1436 | 3 有没有可能两套glibc共存,好比python make altinstall那样? |
d****n 发帖数: 1637 | 4 google is your good friend.
http://stackoverflow.com/questions/847179/multiple-glibc-librar
""""
It is very possible to have multiple versions of glibc on the same system (
we do that every day).
However, you need to know that glibc consists of many pieces (200+ shared
libraries) which all must match. One of the pieces is ld-linux.so.2, and it
must match libc.so.6, or you'll see the errors you are seeing.
The absolute path to ld-linux.so.2 is hard-coded into the executable at link
time, and can not be easily changed after the link is done.
To build an executable that will work with the new glibc, do this:
g++ main.o -o myapp ... \
-Wl,--rpath=/path/to/newglibc \
-Wl,--dynamic-linker=/path/to/newglibc/ld-linux.so.2 |
d****n 发帖数: 1637 | |
R******d 发帖数: 1436 | 6 好的,我去试试,非常感谢
it
link
【在 d****n 的大作中提到】 : google is your good friend. : http://stackoverflow.com/questions/847179/multiple-glibc-librar : """" : It is very possible to have multiple versions of glibc on the same system ( : we do that every day). : However, you need to know that glibc consists of many pieces (200+ shared : libraries) which all must match. One of the pieces is ld-linux.so.2, and it : must match libc.so.6, or you'll see the errors you are seeing. : The absolute path to ld-linux.so.2 is hard-coded into the executable at link : time, and can not be easily changed after the link is done.
|