You are not logged in.

#1 2009-02-09 20:34:46

ghaad
Member
From: Czech Republic, EU
Registered: 2009-01-23
Posts: 21

XAMPP / LAMPP, 32 bit compatibility library

I can't start xampp (lampp) on my arch 64bit.

sudo /opt/lampp/lampp start
XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.

On debian this can be solved easily: sudo aptitude install ia32-libs
But there is no ia32-libs package on archlinux. Can anyone help?


GNUniverse - May the source be with you...

Offline

#2 2009-02-09 21:44:28

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: XAMPP / LAMPP, 32 bit compatibility library

Run 'ldd /opt/lampp/lampp' to see what library it needs.
Use pacman -Qo to see to which package these libraries belong to then install the corresponding lib32-* package from the community repo.

Offline

#3 2009-02-10 18:39:02

ghaad
Member
From: Czech Republic, EU
Registered: 2009-01-23
Posts: 21

Re: XAMPP / LAMPP, 32 bit compatibility library

Thanks for help, unfortunately it doesn't work sad

1) lampp is a bash script, so I searched in it and found out that /opt/lampp/bin/php is executed from there, which is a symlink to /opt/lampp/bin/php-5.2.8
2) php-5.2.8 is an elf-binary file, but I get the following output

ldd /opt/lampp/bin/php-5.2.8 
    not a dynamic executable

This is an excerpt from the script file "lampp":

# XAMPP is currently 32 bit only
case `uname -m` in
        *_64)
        if /opt/lampp/bin/php -v > /dev/null 2>&1
        then
                :
        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

Any suggestions?
I will continue searching for a solution, but even on the xampp homepage there is no info about it.


GNUniverse - May the source be with you...

Offline

#4 2009-02-10 19:02:13

ghaad
Member
From: Czech Republic, EU
Registered: 2009-01-23
Posts: 21

Re: XAMPP / LAMPP, 32 bit compatibility library

Now I'm investigating the content of the debian ia32-libs package. I was able to start LAMPP, because I installed the lib32-glibc package on archlinux. But I got the following warnings:

sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.7...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
libgcc_s.so.1 must be installed for pthread_cancel to work
XAMPP: Starting ProFTPD...
libgcc_s.so.1 must be installed for pthread_cancel to work

I found out that libgcc_s.so.1 is in the package gcc-libs and that there is also lib32-gcc-libs in the package repository, so I installed the second one, and everything seems to work now smile


GNUniverse - May the source be with you...

Offline

#5 2009-02-10 21:37:06

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: XAMPP / LAMPP, 32 bit compatibility library

why don't you simply do this: http://wiki.archlinux.org/index.php/LAMP ?

Offline

#6 2009-02-11 09:25:17

ghaad
Member
From: Czech Republic, EU
Registered: 2009-01-23
Posts: 21

Re: XAMPP / LAMPP, 32 bit compatibility library

Because I've been using xampp / lampp for over one year and it's a very simple solution for web programmers - I don't need any "real" apache server on my PC. It gives me apache + php + mysql just with one simple command, and doesn't stay in memory after reboot (can be even stopped and removed after start).


GNUniverse - May the source be with you...

Offline

#7 2009-03-15 02:21:47

tjwallace
Member
Registered: 2009-03-07
Posts: 40
Website

Re: XAMPP / LAMPP, 32 bit compatibility library

Just added this wiki page to help people install xampp http://wiki.archlinux.org/index.php/Xampp
Working on making a package for the AUR as we speak.

Offline

#8 2009-03-15 03:27:07

tjwallace
Member
Registered: 2009-03-07
Posts: 40
Website

Re: XAMPP / LAMPP, 32 bit compatibility library

Offline

Board footer

Powered by FluxBB