error while loading shared libraries: libdl.so.2、error while loading shared libraries: libc.so.6报错解决方法。
[root@iZbp1f1cqi1ct65j6el45kZ web]# /opt/lampp/xampp restart /bin/sh: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory /bin/sh: error while loading shared libraries: libdl.so.2: 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 /bin/sh: error while loading shared libraries: libdl.so.2: 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
解决方法:
打开文件:/opt/lampp/lampp
把export LD_ASSUME_KERNEL=2.2.5这一行,修改为export LD_ASSUME_KERNEL=2.8.0,
执行重启:
./xampp restart
可以启动了:
总结:
/opt/lampp/下有xampp和lampp二个文件,都是一样的,用这个启动也一样:
/opt/lampp/lampp start
END!!!
发表评论