首页 > 代码库 > centos6.5安装xampp报错

centos6.5安装xampp报错

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


[root@zabbix_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报错