zoukankan      html  css  js  c++  java
  • 安装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  可以成功启动了

  • 相关阅读:
    maven学习(一)
    maven插件开发(二)
    Maven 插件开发(一)
    vue前后端交互
    vue 操作
    公共事件处理函数js库
    javascript 代码可读性
    你真的已经搞懂JavaScript了吗?
    js中常常容易忘记的基本概念
    面试的时候应该想的问题
  • 原文地址:https://www.cnblogs.com/yyxx8888/p/9238549.html
Copyright © 2011-2022 走看看