1. Version information:
CentOS version: CentOS release 6.9 (final)
xmapp version: xampp-linux-x64-5.6.40-1-installer.run
2. Error message:
[root@localhost ~]# /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
- /www/server/php/56/sbin/php-fpm:error while loading shared libraries:libssl.so.1.0. 0:cannot open shared object file:No such file or directory
- composer Error: The requested PHP extension ext-bcmath * is missing from your system. Install or enable
- Laravel-admin php artisan admin:install error reporting problem solution
- Tp6 Cannot enable error [How to Solve]
- How to Solve phpExcel Error: ERR_INVALID_RESPONSE
- [Solved] PHP Fatal error: Uncaught Error: Class ‘Redis‘ not found in
- PHP encryption 3DES error Call to undefined function: mcrypt_module_open() solution
- [Solved] Fatal error: Uncaught Error: Class ‘Imagick‘ not found
- [Solved] Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60
- 404 solution for WordPress Chinese tag
- PHP large file upload error 413: request entity too large [How to Solve]
- [Solved] tp6.0 open_basedir Error: Warning: require(): open_basedir restriction in effect.
- [Solved] ‘node’ command failed to start the project, with an error: “unknown database’ mydb ‘”
- [Solved] PHP getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL
- Workman Run Error: stream_socket_server() has been disabled for security reasons
- [Solved] Postman Error: Error: getaddrinfo ENOTFOUND
- [Solved] PHP installation Phalcon expansion error
- Mac PHP Fatal error: Class ‘Memcache’ not found
- PHP solves the problem that composer exceeds the memory size Allowed memory size