1. Version information:
CentOS version: CentOS release 6.9 (final)
xmapp version: xampp-linux-x64-5.6.40-1-installer.run
2. Error message:
[[email protected] ~]# /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
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
3. Solution:
1. Open /opt/lampp/lampp
vim /opt/lampp/lampp
2. Edit
Modify this line
export LD_ASSUME_KERNEL=2.2.5
to
export LD_ASSUME_KERNEL=2.8.0
Find a word in the file [under the command line/keyword, enter to find, enter n to find the next]
Read More:
- [Solved] PHP -v Error: error while loading shared libraries: libonig.so.5:cannot open share directory
- PHP encryption 3DES error Call to undefined function: mcrypt_module_open() solution
- How to Solve phpExcel Error: ERR_INVALID_RESPONSE
- [Solved] PHP Fatal error: Uncaught Error: Class ‘Redis‘ not found in
- [Solved] ‘node’ command failed to start the project, with an error: “unknown database’ mydb ‘”
- 404 solution for WordPress Chinese tag
- PHP solves the problem that composer exceeds the memory size Allowed memory size
- Lack of files in composer installation [How to Solve]
- Vant configures multiple sites, and new sites 404 error [How to Solve]
- Tp6 Cannot enable error [How to Solve]
- composer Error: The requested PHP extension ext-bcmath * is missing from your system. Install or enable
- [Solved] Type error: Argument 1 passed to Monolog\Utils::getClass() must be an instance of Monolog\object
- PHP use __Sleep() and __wakeup() method serializes the object
- PHP: How to parse MHT file into HTML
- Mac PHP Fatal error: Class ‘Memcache’ not found
- [Solved] Fatal error: Uncaught Error: Class ‘Imagick‘ not found
- PHP Error Object of class mysqli could not be converted to string in
- PHP file download, download failed, nginx open() nginx / fastcgi_ temp/2/10/0000000102“ failed (13: Permission denied)
- [PHP] __autoload function will be called when class_exists does not exist
- [Solved] WordPress Upgrade PHP 5.6 to 7.x Fatal error: Uncaught Error: Call to undefined function mysql_connect()