Page 1 of 1

Fedora 9 and library problems on startup of Xampp

PostPosted: 15. May 2008 11:15
by arkos
Hi,

I've upgaded to FC 9 and seem to have some problems with the startup of Xampp

Here's the output:

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.


When I locate these these 2 libraries the links resolve to:

/lib/libdl.so.2 -> libdl-2.7.so
and
/lib/libc.so.6 -> libc-2.7.so

Seems a couple of people seem to be having similiar problems

Any help will be greatly appreciated

PostPosted: 16. May 2008 11:12
by shadow_hitman
I also have the same problem with Fedora 9 and xampp-linux-1.6.6 also165.a,
was running perfectly on Fedora 8.

Please Advise.
Thank you very much

Solution on Fedora

PostPosted: 16. May 2008 11:18
by arkos
Ok, I haven't tried this yet but it seems to work for other ppl:

http://forums.fedoraforum.org/showthread.php?p=1011066

PostPosted: 16. May 2008 11:26
by shadow_hitman
Yup,its working :D .

Thanks

IT'S NOT WORKING

PostPosted: 19. May 2008 09:14
by p3tzata
shadow_hitman wrote:Yup,its working :D .

Thanks


IT'S NOT WORKING

Re: IT'S NOT WORKING

PostPosted: 29. June 2008 12:12
by xnetproject
p3tzata wrote:
shadow_hitman wrote:Yup,its working :D .

Thanks


IT'S NOT WORKING



1.) This will only work with Xampp Version 1.6.6 from what we have tested.

2.) Make sure you add this verbatim in the lampp file under /opt/lampp.

3.) The following below should be what you see for it between lines 79 and lines 93:

else
$de && echo "XAMPP gibt es zur Zeit nur als 32-Bit Applikation. Bitte verwende eine 32-Bit Kompatibilitaetsbibliothek fuer Dein System."
$de || echo "XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system."
exit
fi
;;
esac

# do we have that new red hat linux 9 with posix native threads?
if test "`osguess`" = "rh9"
then
# for now disable PNTL. if PNTL gets more popular we will support it. - oswald [8apr3]
xport LD_ASSUME_KERNEL=2.2.5
#echo "XAMPP: OVERRIDE"
fi


Note: You will see the following below when you run /opt/lampp/lampp start in terminal:


[root@xnetproject ~]# /opt/lampp/lampp start
/opt/lampp/lampp: line 91: xport: command not found
XAMPP: SELinux is activated. Making XAMPP fit SELinux...
Starting XAMPP for Linux 1.6.6...
/opt/lampp/lampp: line 91: xport: command not found
/opt/lampp/lampp: line 91: xport: command not found
XAMPP: Starting Apache with SSL (and PHP5)...
/opt/lampp/lampp: line 91: xport: command not found
XAMPP: Starting MySQL...
/opt/lampp/lampp: line 91: xport: command not found
XAMPP: Starting ProFTPD...
XAMPP for Linux started.


Even with this in mind it still works with 1.6.6 for now on Fedora Core 9

There is a downside to this. From what we have gathered, when you go this route it will allow local use via intranet ip addresses. (e.g. 192.168.1.100) but for global it seems to fail.