centos6.5安装wps提示缺libc.so.6(GLIBC_2.15)(64bit),怎办?

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos6.5安装wps提示缺libc.so.6(GLIBC_2.15)(64bit),怎办?相关的知识,希望对你有一定的参考价值。

1.试图运行程序,提示"libc.so.6: version `GLIBC_2.14' not found",原因是系统的glibc版本太低,软件编译时使用了较高版本的glibc引起的:

[ghui@StuOS bin]$ pwd  

/var/VMdisks/cross/mingw32/bin  

[ghui@StuOS bin]$ ls  

lrelease     QtCore4.dll         QtNetwork4.dll      QtSql4.dll     QtXml4.dll  

moc          QtDeclarative4.dll  QtOpenGL4.dll       QtSvg4.dll     rcc  

phonon4.dll  QtGui4.dll          QtScript4.dll       QtTest4.dll    uic  

qmake        QtMultimedia4.dll   QtScriptTools4.dll  QtWebKit4.dll  

[ghui@StuOS bin]$ ./qmake   

./qmake: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./qmake)  

2.查看系统glibc支持的版本:

[ghui@StuOS bin]$ strings /lib64/libc.so.6 |grep GLIBC_  

GLIBC_2.2.5  

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_PRIVATE  

[ghui@StuOS bin]$ rpm -qa |grep glibc  

glibc-static-2.12-1.80.el6_3.6.x86_64  

glibc-headers-2.12-1.80.el6_3.6.x86_64  

glibc-common-2.12-1.80.el6_3.6.x86_64  

glibc-devel-2.12-1.80.el6_3.6.x86_64  

glibc-static-2.12-1.80.el6_3.6.i686  

glibc-devel-2.12-1.80.el6_3.6.i686  

glibc-2.12-1.80.el6_3.6.i686  

glibc-2.12-1.80.el6_3.6.x86_64  

3.可以看到最高只支持2.12版本,所以考虑编译解决这个问题:

a. 到http://www.gnu.org/software/libc/下载最新版本,我这里下载了glibc-2.14.tar.xz 这个版本,解压到任意目录准备编译

b.这里解压到/var/VMdisks/glibc-2.14/

[ghui@StuOS bin]$ cd /var/VMdisks/glibc-2.14/  

[ghui@StuOS glibc-2.14]$ pwd  

/var/VMdisks/glibc-2.14  

[ghui@StuOS glibc-2.14]$ ls  

abilist            config.h.in           intl           README.libm  

abi-tags           config.log            io             resolv  

aclocal.m4         config.make.in        libc-abis      resource  

aout               configure             libidn         rt  

argp               configure.in          libio          Rules  

assert             conform               LICENSES       scripts  

autom4te.cache     CONFORMANCE           locale         setjmp  

bits               COPYING               localedata     shadow  

BUGS               COPYING.LIB           login          shlib-versions  

build              cppflags-iterator.mk  mach           signal  

CANCEL-FCT-WAIVE   crypt                 Makeconfig     socket  

CANCEL-FILE-WAIVE  csu                   Makefile       soft-fp  

catgets            ctype                 Makefile.in    stdio-common  

ChangeLog          debug                 Makerules      stdlib  

ChangeLog.1        dirent                malloc         streams  

ChangeLog.10       dlfcn                 manual         string  

ChangeLog.11       elf                   math           sunrpc  

ChangeLog.12       extra-lib.mk          misc           sysdeps  

ChangeLog.13       extra-modules.mk      NAMESPACE      sysvipc  

ChangeLog.14       FAQ                   NEWS           termios  

ChangeLog.15       FAQ.in                nis            test-skeleton.c  

ChangeLog.16       gmon                  NOTES          time  

ChangeLog.17       gnulib                nptl           timezone  

ChangeLog.2        grp                   nptl_db        tls.make.c  

ChangeLog.3        gshadow               nscd           version.h  

ChangeLog.4        hesiod                nss            Versions.def  

ChangeLog.5        hurd                  o-iterator.mk  wcsmbs  

ChangeLog.6        iconv                 po             wctype  

ChangeLog.7        iconvdata             posix          WUR-REPORT  

ChangeLog.8        include               PROJECTS  

ChangeLog.9        inet                  pwd  

conf               INSTALL               README  

c.在glibc源码目录建立构建目录,并cd进入构建目录

[ghui@StuOS glibc-2.14]$ mkdir build  

[ghui@StuOS glibc-2.14]$ cd build  

d.运行configure配置,make && sudo  make install

[ghui@StuOS build]$ ../configure --prefix=/opt/glibc-2.14  

[ghui@StuOS build]$ make -j4   

[ghui@StuOS build]$ sudo make install  

[sudo] password for ghui:   

4.临时修改环境变量

[ghui@StuOS bin]$ export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH  

[ghui@StuOS glibc-2.14]$ cd /var/VMdisks/cross/mingw32/bin/  

[ghui@StuOS bin]$ ./qmake   

Usage: ./qmake [mode] [options] [files]  

QMake has two modes, one mode for generating project files based on  

some heuristics, and the other for generating makefiles. Normally you  

shouldn't need to specify a mode, as makefile generation is the default  

mode for qmake, but you may use this to test qmake on an existing project  

...

参考技术A

1.试图运行程序,提示"libc.so.6: version `GLIBC_2.14' not found",原因是系统的glibc版本太低,软件编译时使用了较高版本的glibc引起的:
[ghui@StuOS bin]$ pwd  
/var/VMdisks/cross/mingw32/bin  
[ghui@StuOS bin]$ ls  
lrelease     QtCore4.dll         QtNetwork4.dll      QtSql4.dll     QtXml4.dll  
moc          QtDeclarative4.dll  QtOpenGL4.dll       QtSvg4.dll     rcc  
phonon4.dll  QtGui4.dll          QtScript4.dll       QtTest4.dll    uic  
qmake        QtMultimedia4.dll   QtScriptTools4.dll  QtWebKit4.dll  
[ghui@StuOS bin]$ ./qmake  
./qmake: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./qmake)

2.查看系统glibc支持的版本:
[ghui@StuOS bin]$ strings /lib64/libc.so.6 |grep GLIBC_  
GLIBC_2.2.5  
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_PRIVATE  
[ghui@StuOS bin]$ rpm -qa |grep glibc  
glibc-static-2.12-1.80.el6_3.6.x86_64  
glibc-headers-2.12-1.80.el6_3.6.x86_64  
glibc-common-2.12-1.80.el6_3.6.x86_64  
glibc-devel-2.12-1.80.el6_3.6.x86_64  
glibc-static-2.12-1.80.el6_3.6.i686  
glibc-devel-2.12-1.80.el6_3.6.i686  
glibc-2.12-1.80.el6_3.6.i686  
glibc-2.12-1.80.el6_3.6.x86_64

3.可以看到最高只支持2.12版本,所以考虑编译解决这个问题:
a. 到http://www.gnu.org/software/libc/下载最新版本,我这里下载了glibc-2.14.tar.xz 这个版本,解压到任意目录准备编译
b.这里解压到/var/VMdisks/glibc-2.14/
[ghui@StuOS bin]$ cd /var/VMdisks/glibc-2.14/  
[ghui@StuOS glibc-2.14]$ pwd  
/var/VMdisks/glibc-2.14  
[ghui@StuOS glibc-2.14]$ ls  
abilist            config.h.in           intl           README.libm  
abi-tags           config.log            io             resolv  
aclocal.m4         config.make.in        libc-abis      resource  
aout               configure             libidn         rt  
argp               configure.in          libio          Rules  
assert             conform               LICENSES       scripts  
autom4te.cache     CONFORMANCE           locale         setjmp  
bits               COPYING               localedata     shadow  
BUGS               COPYING.LIB           login          shlib-versions  
build              cppflags-iterator.mk  mach           signal  
CANCEL-FCT-WAIVE   crypt                 Makeconfig     socket  
CANCEL-FILE-WAIVE  csu                   Makefile       soft-fp  
catgets            ctype                 Makefile.in    stdio-common  
ChangeLog          debug                 Makerules      stdlib  
ChangeLog.1        dirent                malloc         streams  
ChangeLog.10       dlfcn                 manual         string  
ChangeLog.11       elf                   math           sunrpc  
ChangeLog.12       extra-lib.mk          misc           sysdeps  
ChangeLog.13       extra-modules.mk      NAMESPACE      sysvipc  
ChangeLog.14       FAQ                   NEWS           termios  
ChangeLog.15       FAQ.in                nis            test-skeleton.c  
ChangeLog.16       gmon                  NOTES          time  
ChangeLog.17       gnulib                nptl           timezone  
ChangeLog.2        grp                   nptl_db        tls.make.c  
ChangeLog.3        gshadow               nscd           version.h  
ChangeLog.4        hesiod                nss            Versions.def  
ChangeLog.5        hurd                  o-iterator.mk  wcsmbs  
ChangeLog.6        iconv                 po             wctype  
ChangeLog.7        iconvdata             posix          WUR-REPORT  
ChangeLog.8        include               PROJECTS  
ChangeLog.9        inet                  pwd  
conf               INSTALL               README  

c.在glibc源码目录建立构建目录,并cd进入构建目录
[ghui@StuOS glibc-2.14]$ mkdir build  
[ghui@StuOS glibc-2.14]$ cd build  

d.运行configure配置,make && sudo  make install
[ghui@StuOS build]$ ../configure --prefix=/opt/glibc-2.14  
[ghui@StuOS build]$ make -j4  
[ghui@StuOS build]$ sudo make install  
[sudo] password for ghui:  

4.临时修改环境变量
[ghui@StuOS bin]$ export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH  
[ghui@StuOS glibc-2.14]$ cd /var/VMdisks/cross/mingw32/bin/

[ghui@StuOS bin]$ ./qmake  
Usage: ./qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on  
some heuristics, and the other for generating makefiles. Normally you  
shouldn't need to specify a mode, as makefile generation is the default  
mode for qmake, but you may use this to test qmake on an existing project  
...

64位redhat-linux安装snmp的RPM包是总提示缺少libc.so.6()(64bit)

服务器用的安腾2CPU,64位Red Hat Enterprise Linux Server release 5.6 Beta (Tikanga);glibc-2.5-56相关东西也有安装,/lib文件夹下也有libc.so.6指向libc-2.5.so;但是安装net-snmp-5.3.2.2-9.el5_5.1.x86_64.rpm
net-snmp-libs-5.3.2.2-9.el5_5.1.x86_64.rpm时,一直报错:
error: Failed dependencies:
libc.so.6()(64bit) is needed by net-snmp-5.3.2.2-9.el5_5.1.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by net-snmp-5.3.2.2-9.el5_5.1.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by net-snmp-5.3.2.2-9.el5_5.1.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by net-snmp-5.3.2.2-9.el5_5.1.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by net-snmp-5.3.2.2-9.el5_5.1.x86_64
libm.so.6()(64bit) is needed by net-snmp-5.3.2.2-9.el5_5.1.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by net-snmp-5.3.2.2-9.el5_5.1.x86_64
libsensors.so.3()(64bit) is needed by net-snmp-5.3.2.2-9.el5_5.1.x86_64

求高手支持!
yum install *这是报错:
#yum install net-snmp-5.3.2.2-9.el5_5.1.x86_64.rpm
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Examining net-snmp-5.3.2.2-9.el5_5.1.x86_64.rpm: 1:net-snmp-5.3.2.2-9.el5_5.1.x86_64
Cannot add package net-snmp-5.3.2.2-9.el5_5.1.x86_64.rpm to transaction. Not a compatible architecture: x86_64
Nothing to do
#

参考技术A 请用系统的软件包管理器安装。
用它的添加删除软件功能去添加安装安装盘上的软件。
字符界面怎么弄不知道,图形界面 CentOS 有这个东西,RHEL 应该也有吧?
或者给 yum 添加 CD 的源,同时屏蔽在线的源。

不买 RHN 服务就不建议用 RHEL 。
参考技术B 你可以将你的yum源更换为centos5.6的源。或者使用光盘上的net-snmp包! 参考技术C 你去下载 源码包啊,rpm可能少东西,重下或者用源码吧
http://www.net-snmp.org/download.html本回答被提问者采纳
参考技术D The new image: and with multiple belt

Armani think,mbt anti shoe, the man also can also wear two or three tiny belt, reveal today season "CLUB" series unique leisure flavor.

Relevant link

EmporioArmani creates innovative charm

With "eagle" represented the EmporioArmani male and female attire is GiorgioArmani second-tier brand. The Italian means Emporio Armani department store, namely "department store,Birkenstock Piazza," is a very successful second-tier brand. EmporioArmani GiorgioArmani in the deck is the most mature and most popular series. It not only lively young breath, bright colors shining, style and popular feeling is dye-in-the-wood,asics tiger shoes, the most important is, it is still the GiorgioArmani elegant and with confidence,herve leger perfume, and prices, but GiorgioArmani much cheaper than. The men's clothing series EmporioArmani with young parvenu as the main guest layer with a formal,ray ban prescription sunglasses, design style with leisure for style. And ladies series criterion with elegance, fashion popular feeling to design a key.

TOM the high-end men's high-end starting manual

He came in the men's clothing series is high-end high-end. These brands of ARMANI successor seems really wrong he mo belonged to. Now, let us 24's once.

Starting from GUCCI's TOM spring 2008 launch of men's clothing named after me. This in fashionable circles aroused greatly fluctuations, after all that was he let GUCCI from the brink of bankruptcy got today's position. TOM's fans are looking forward to his first game, hoping to reap mountain men's conference for many years he can bring a surprise. The focus of the fashionable circle next year will is TOM.

Men's clothing by all the cloth in the world the most advanced production process with Ermenegildo Zegna.

TOM starting with years of experience for customers and will custom-made2 clothes.

以上是关于centos6.5安装wps提示缺libc.so.6(GLIBC_2.15)(64bit),怎办?的主要内容,如果未能解决你的问题,请参考以下文章

Centos6.5升级glibc解决“libc.so.6: version GLIBC_2.14 not found”报错问题

Centos6.5 glibc 升级

centos6.5安装xampp报错

64位redhat-linux安装snmp的RPM包是总提示缺少libc.so.6()(64bit)

centos6.5 安装mysql5.6

linux上wps2019不能启动解决方法