Tuesday, June 4, 2013

Error while loading shared libraries: libc.so.6 Xampp CentOS

Error while loading shared libraries: libc.so.6 Xampp CentOS. Pernah mengalami error seperti ini setelah mengidupkan service xampp/lampp  :

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 :
  1. Masuk terminal dan login sebagai root.
  2. 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/lampp
    Tekan huruf i untuk mengedit file lampp
  3. Setelah itu search "if egrep "Fedora" /etc/redhat-release > /dev/null" (defaultnya lampp).
  4. Rubah kata "Fedora" menjadi "CentOS"
    if egrep "CentOS" /etc/redhat-release > /dev/null
  5. Kemudian restart service lamppnya.
Semoga artikel Error while loading shared libraries: libc.so.6 Xampp CentOS dapat bermanfaat. Terima Kasih.


EmoticonEmoticon