* Reto M. Kiefer
Hi Andreas, hi List!
I'm not sure what you mean by "have the 32-bit development environment set up" maybe I need some more explanation or a link...
I followed your instructions on compiling a 32bit PHP 5.04 executable on a SuSE 9.3 x86_64. (I need to compile a 32bit version because Oracle doesn't provide a 64bit version of the instant client).
If I'm compiling only a minimal version everything runs fine and I get Oracle Instant Client support.
First I'm executing
linux32 bash
followed by a
export CC='gcc -m32' export LD_LIBRARY_PATH=/opt/instantclient10_1 (for Oracle)
This configure/make/make install works well:
./configure \ --prefix=/usr/share/php5 \ --with-config-file-path=/etc/php5 \ --with-oci8-instant-client=/opt/instantclient10_1 \ --enable-fastcgi \ --enable-sigchild \
But as soon as I'm including external libraries I'm running into problems. For example the make for
./configure \ --prefix=/usr/share/php5 \ --with-config-file-path=/etc/php5 \ --with-oci8-instant-client=/opt/instantclient10_1 \ --enable-fastcgi \ --enable-sigchild \ --with-pear=/usr/share/php5/pear \ --enable-soap \ --with-ldap \ --with-openssl \ --enable-calendar \ --enable-mbstring \
returns the following error messages:
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libcrypt.so when searching for -lcrypt /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld:
[removed lots of linker messages] make sure you have installed: glibc-devel-32bit openldap2-client-32bit openldap2-devel-32bit ...and maybe some others And in some cases you might even have to create the .so links yourself. (eg. /usr/lib/libldap-2.2.so -> libldap-2.2.so.7) Maybe --libdir=/usr/lib helps as well
Any help is highly appreciated! Otherwise I might have to install the x86_32 version on the Xeons (because the 32bit compilation works in VMWare fine)...
Thanks in advance
Reto
-- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
Stefan -- SUSE LINUX Products GmbH, Maxfeldstr. 5 Mail: sf@suse.de D-90409 Nuernberg Phone: +49-911-740 53 - 0 GPG 1024D/91614BBC B226 E3DA 37B0 2170 7403 D19C 18AF E579 9161 4BBC