• 安装xampp 完 启动报错 :error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory


    安装版本为:xampp-linux-x64-5.6.34-0-installer.run

    centos 版本为:CentOS release 6.9 (Final)

    [root@iZm5eik57sceo3kq6asrexZ lampp]# ./xampp start
    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

    id: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /opt/lampp/share/xampp/xampplib: line 11: test: -ne: unary operator expected
    /opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    XAMPP: egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    netstat: 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
    netstat: 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
    /opt/lampp/bin/httpd: error while loading shared libraries: librt.so.1: 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
    XAMPP: hostname: 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
    netstat: 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
    /opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    XAMPP: /bin/sh: 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
    netstat: 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
    /opt/lampp/bin/gettext: 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,

    执行./xampp start  可以成功启动了

  • 相关阅读:
    xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!
    白盒,单元测试
    向数据库添加100W 条数据 性能测试
    软件测试
    软件需求工程-产品经理该如何更好地记录反馈、捕捉需求?
    Spring,Spring MVC,MyBatis,Hibernate总结
    Java基础总结
    Java8新特性_四大内置核心函数式接口
    Lambda表达式及相关练习
    Java 8新特性(Lambda,Stream API)
  • 原文地址:https://www.cnblogs.com/yyxx8888/p/9238549.html
Copyright © 2020-2023  润新知