centos6.5安装xampp报错

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos6.5安装xampp报错相关的知识,希望对你有一定的参考价值。

安装完xampp 5.6.3后,执行/opt/lampp/lampp报错


[[email protected]_server ~]# /opt/lampp/lampp

egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory

egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory



/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        start

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        startapache

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        startmysql

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        startftp


/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        stop

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        stopapache

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        stopmysql

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        stopftp


/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        reload

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        reloadapache

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        reloadmysql

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        reloadftp


/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        restart

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        security


/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        enablessl

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        disablessl


/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        backup


/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        oci8


egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

        panel

egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory


解决办法


vi /opt/lampp/lampp

找到export LD_ASSUME_KERNEL=2.2.5这一行,

并修改内容为export LD_ASSUME_KERNEL=2.8.0,保存退出就可以解决了。




以上是关于centos6.5安装xampp报错的主要内容,如果未能解决你的问题,请参考以下文章

centos6.5安装mysql报错

安装CentOS6.5时 报错 提示“sda 必须有一个GPT磁盘标签”

centos6.5 安装 xtables-addons 过程及报错解决

Navicat连接centos6.5报错2003和1130

CentOS6.5安装Docker

CentOS6.5安装nginx报错:No package nginx available. Error: Nothing to do