Error while loading shared libraries: libc.so.6 Xampp CentOS. Pernah mengalami error seperti ini setelah mengidupkan service xampp/lampp :
Cara mengatasi Error while loading shared libraries: libc.so.6 Xampp CentOS :
cat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/sh: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
Starting XAMPP for Linux ...
/bin/bash: error while loading shared libraries: libdl.so.2: 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
/bin/bash: error while loading shared libraries: libdl.so.2: 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
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
XAMPP for Linux started.
Cara mengatasi Error while loading shared libraries: libc.so.6 Xampp CentOS :
- Masuk terminal dan login sebagai root.
- Buka lampp file dengan vi atau nano pada server anda (letaknya difolder lampp). Lokasi folder lampp sendiri letaknya tergantung anda pertama kali melakukan extract.vi /opt/lampp/lamppTekan huruf i untuk mengedit file lampp
- Setelah itu search "if egrep "Fedora" /etc/redhat-release > /dev/null" (defaultnya lampp).
- Rubah kata "Fedora" menjadi "CentOS"if egrep "CentOS" /etc/redhat-release > /dev/null
- Kemudian restart service lamppnya.
EmoticonEmoticon