Page 1 of 1

lampp 1.7.7 or 1.8.1 + CentOS release 5.9/RHEL Solved

PostPosted: 28. January 2013 14:09
by heberv
With the last glibc update ( glibc-2.5-107 ) on centos 5.9 (Final) 32bit, I receive this error trying to run lampp 1.7.7 or 1.8.1:

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
Stopping 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
XAMPP stopped.

I need that lampp because the 1.8.x version dont have the zip.xx library.

Any sugestion? Thanks in advance.

Re: lampp 1.7.7 or 1.8.1 + CentOS release 5.9 (Final)

PostPosted: 28. January 2013 21:08
by heberv
Edit lampp and change on line 50:
if egrep "Fedora" /etc/redhat-release > /dev/null
to
if egrep "CentOS" /etc/redhat-release > /dev/null

Re: lampp 1.7.7 or 1.8.1 + CentOS release 5.9 (Final)

PostPosted: 01. February 2013 17:32
by JonB
Does that mean that was the 'fix' ??? (I see how that could be :mrgreen: )

Thanks
8)

Re: lampp 1.7.7 or 1.8.1 + CentOS release 5.9 (Final) [Solve

PostPosted: 03. April 2013 13:17
by bradrichmond
This absolutely works with a slightly different modification for Red Hat Enterprise Linux.

I made the following change to the same "line 50" in lampp.

Code: Select all
if egrep "Fedora" /etc/redhat-release > /dev/null
to
Code: Select all
if egrep "Red" /etc/redhat-release > /dev/null

it starts up just fine now.

What I discovered after opening the file "redhat-release" and seeing what's there; "Red Hat Enterprise Linux Client release 5.9 (Tikanga)" in my case. The script is just looking for a positive entry using egrep. I've seen where some people entered "Red Hat" and it works, but all really you need is a single pattern match, and it'll work just fine.

Re: lampp 1.7.7 or 1.8.1 + CentOS release 5.9/RHEL Solved

PostPosted: 04. April 2013 17:01
by JonB
OK, thanks bradrichmond for that update.

Good Luck XAMPP

8)

Re: lampp 1.7.7 or 1.8.1 + CentOS release 5.9/RHEL Solved

PostPosted: 16. October 2013 14:26
by jcannonsr
I changed if egrep "9 " to if egrep "Red" and now all is well.