LAMPP error on Centos 6.9
I try to run /opt/lampp/lampp start and receive that:
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
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
edit /opt/lampp/lampp and change that old redhat 9 line:
if egrep "9 " /etc/redhat-release > /dev/null
to something like
if egrep "9x " /etc/redhat-release > /dev/null