• 安装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  可以成功启动了

  • 相关阅读:
    Convolution_model_Application_v1a
    MBSE基于模型的系统工程
    Convolution_model_Step_by_Step_v2a
    深度学习精炼图笔记总结
    TensorFlow_Tutorial_v3b——improving NN performance测验
    maven之安装jar包之本地仓库
    linux之rpm管理
    linux之防火墙
    linux之ntp服务
    linux之chkconfig
  • 原文地址:https://www.cnblogs.com/yyxx8888/p/9238549.html
Copyright © 2020-2023  润新知