Hallo, nach einem Hinweis aus der SuSE-Oracle-Liste wende ich mich an Euch, in der Hoffnung auf einen Rat... Ich habe das Problem, dass ich auf einem Dual-Xeon mit Suse x86_64 9.3 ein aktuelles PHP5 mit u.a. Unterstützung für den Oracle Instant Client kompilieren muss. Letzterer ist nicht in 64 bit erhältlich, weshalb der Compilervorgang logischwerweise immer mit einem Hinweis auf eine inkomaptible Bibilothek abbricht... Bevor ich das Xeon-System mit SuSE 9.3 x86_32 neu aufsetzen muss (denn bei meinen Tests in der x86_32 Version lief das völlig reibungslos) meine Frage, ob ich evtl. auf dem 64bit System ein 32bittiges PHP executable kompilerien kann... Folgende Versuche habe ich unternommen jedoch ohne Erfolg: --target=i386-pc-linux-gnu und auch export CC='gcc -m32' Ich wäre Euch wirklich dankbar, wenn Ihr mir weiterhelfen könntet. Die Supportdatenbank von Oracle weiß auch keine Lösung und die Installation des kompletten "alten" Oracle Clients soll ich auf jeden Fall vermeiden (zumal der auch Probleme macht -- wenn auch andere --, wie ich feststellen durfte...). Welche Bedingungen müssen den erfüllt sein, dass ich bei diesem BiArch-System ein 32bittiges PHP-Executable erzeugen kann? Wie gesagt, als Trost bliebe mir das System erneut mit 32bit aufzusetzenm, aber das wäre für mich nur die Notlösung... Danke im Vorab Reto
Hi Reto, this list is an English list, if you really want help, you should write in that language. I'm taking the liberty to answer in English... "Reto M. Kiefer" <reto@nerdbude.de> writes:
Hallo,
nach einem Hinweis aus der SuSE-Oracle-Liste wende ich mich an Euch, in der Hoffnung auf einen Rat...
Ich habe das Problem, dass ich auf einem Dual-Xeon mit Suse x86_64 9.3 ein aktuelles PHP5 mit u.a. Unterstützung für den Oracle Instant Client kompilieren muss. Letzterer ist nicht in 64 bit erhältlich, weshalb der Compilervorgang logischwerweise immer mit einem Hinweis auf eine inkomaptible Bibilothek abbricht...
Bevor ich das Xeon-System mit SuSE 9.3 x86_32 neu aufsetzen muss (denn bei meinen Tests in der x86_32 Version lief das völlig reibungslos) meine Frage, ob ich evtl. auf dem 64bit System ein 32bittiges PHP executable kompilerien kann...
Folgende Versuche habe ich unternommen jedoch ohne Erfolg:
--target=i386-pc-linux-gnu
und auch
export CC='gcc -m32'
Try: linux32 bash And then run in the new shell the usual commands together with: export CC='gcc -m32' What kind of problems do you still see? Your description is so vague that we cannot give you any further guidance.
Ich wäre Euch wirklich dankbar, wenn Ihr mir weiterhelfen könntet. Die Supportdatenbank von Oracle weiß auch keine Lösung und die Installation des kompletten "alten" Oracle Clients soll ich auf jeden Fall vermeiden (zumal der auch Probleme macht -- wenn auch andere --, wie ich feststellen durfte...).
Welche Bedingungen müssen den erfüllt sein, dass ich bei diesem BiArch-System ein 32bittiges PHP-Executable erzeugen kann?
Just compile using gcc -m32 and everything should be fine - if you have the 32-bit development environment set up, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Hi Andreas,
this list is an English list, if you really want help, you should write in that language.
Oops, sorry I just came from the german SuSE Linux list and didn't switched language...
Try: linux32 bash
And then run in the new shell the usual commands together with: export CC='gcc -m32'
Ok, I will try again tomorrow and post the results to the list...
What kind of problems do you still see? Your description is so vague that we cannot give you any further guidance.
Sorry, I posted from memory I will post the compilation errors after the next run...
Just compile using gcc -m32 and everything should be fine - if you have the 32-bit development environment set up,
I will have to check if the 32bit development environment is installed... Thanks so far and talk to you tomorrow Reto
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: skipping incompatible /usr/lib64/libcrypt.a when searching for -lcrypt /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: skipping incompatible /usr/lib64/libcrypt.a when searching for -lcrypt /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libldap.so when searching for -lldap /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libldap.a when searching for -lldap /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/liblber.so when searching for -llber /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/liblber.a when searching for -llber /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libresolv.so when searching for -lresolv /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libresolv.a when searching for -lresolv /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libnsl.so when searching for -lnsl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libnsl.a when searching for -lnsl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libssl.so when searching for -lssl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libssl.a when searching for -lssl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libcrypto.so when searching for -lcrypto /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libcrypto.a when searching for -lcrypto /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libnsl.so when searching for -lnsl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libnsl.a when searching for -lnsl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm /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: skipping incompatible /usr/lib64/libcrypt.a when searching for -lcrypt /usr/lib64/libxml2.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 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
"Reto M. Kiefer" <reto@nerdbude.de> writes:
/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
You need the 32-bit libcrypt.so, it's part of glibc-devel-32bit.
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libcrypt.a when searching for -lcrypt /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: skipping incompatible /usr/lib64/libcrypt.a when searching for -lcrypt /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libldap.so when searching for -lldap
And the same for libldap etc. Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
* Reto M. Kiefer <reto@nerdbude.de> [050705 23:12]:
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
Hello,
make sure you have installed: glibc-devel-32bit openldap2-client-32bit openldap2-devel-32bit
Yes, I have all 32bit version installed.
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)
For the needed .so's i created the links. BTW: What to do for with packages that exist not in 32-bit version (like mcrypt)?
Maybe --libdir=/usr/lib helps as well
I tried but it doesn't help :o( Any other suggestions please? Many thanks in advance Reto
Dear all, just one annotation to this compile issue: If I'm compiling with a slim configure, the build process works seemless. As soon as I add some extension, make quits with error messages, see my mail from yesterday 23:12 o'clock. The strange thing is, that most of the libraries that the compiler complains by compiling php with more extensions, he compiles without error by using the slim configuration... For example libxml2.so is needed in both build processes but make gives an error message only with additional (non xml related) extensions... Does anybody has an explanation for this behavior? Thanks in advance... Bye Reto
* Reto M. Kiefer <reto@nerdbude.de> [050706 11:29]:
Dear all,
just one annotation to this compile issue:
If I'm compiling with a slim configure, the build process works seemless. As soon as I add some extension, make quits with error messages, see my mail from yesterday 23:12 o'clock.
The strange thing is, that most of the libraries that the compiler complains by compiling php with more extensions, he compiles without error by using the slim configuration...
For example libxml2.so is needed in both build processes but make gives an error message only with additional (non xml related) extensions...
Does anybody has an explanation for this behavior?
Probably the configure detects different paths, as it needs more libs. (Which might not be there in */lib/, but in */lib64/) Have a look at config.log, there you should be able to see what's going wrong.
Thanks in advance...
Bye
Reto
-- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
-- 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
Hi Stefan, thank you for you answers...
Probably the configure detects different paths, as it needs more libs. (Which might not be there in */lib/, but in */lib64/)
Have a look at config.log, there you should be able to see what's going wrong.
I double checked all required files are there and the so. links are there as well. But I want to ask if it is just a linker problem? I provide "-m 32" for the compiler. Is it possible to provide parameters for the linker as well like "-m elf32-i386"? And how can I do it? Thanks in advance Reto
* Reto M. Kiefer <reto@nerdbude.de> [050706 12:45]:
Hi Stefan,
thank you for you answers...
Probably the configure detects different paths, as it needs more libs. (Which might not be there in */lib/, but in */lib64/)
Have a look at config.log, there you should be able to see what's going wrong.
I double checked all required files are there and the so. links are there as well.
But I want to ask if it is just a linker problem?
I provide "-m 32" for the compiler. Is it possible to provide parameters for the linker as well like "-m elf32-i386"? And how can I do it?
This is taken care of by CC="gcc-m32" This is definitely not the problem. I'm quite sure, somewhere a path is set wrong, so it doesn't look in */lib/ This should be seen in config.log
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
-----Original Message----- From: Stefan Fent [mailto:sf@suse.de] Sent: Wednesday, July 06, 2005 4:28 AM To: suse-amd64@suse.com Subject: Re: [suse-amd64] PHP 5 und Oracle Instant Client * Reto M. Kiefer <reto@nerdbude.de> [050706 12:45]:
Hi Stefan,
thank you for you answers...
Probably the configure detects different paths, as it needs more libs. (Which might not be there in */lib/, but in */lib64/)
Have a look at config.log, there you should be able to see what's going wrong.
I double checked all required files are there and the so. links are there as well.
But I want to ask if it is just a linker problem?
I provide "-m 32" for the compiler. Is it possible to provide parameters for the linker as well like "-m elf32-i386"? And how can I do it?
This is taken care of by CC="gcc-m32" This is definitely not the problem. I'm quite sure, somewhere a path is set wrong, so it doesn't look in */lib/ This should be seen in config.log
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
Hello Stefan, hello Andreas, Regarding the 32-bit vs 64-bit compilation issue with PHP5 and Oracle I just want to thank you again for your help and support. Even if I was fianally not able to compile a 32-bit PHP binary, the issue is solved meanwhile. Oracle just released x86_64 version of their Instant Client for Linux and the whole build process worked like a charm... Thanks again and bye Reto
* Reto M. Kiefer <reto@nerdbude.de> [050706 11:13]:
Hello,
make sure you have installed: glibc-devel-32bit openldap2-client-32bit openldap2-devel-32bit
Yes, I have all 32bit version installed.
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)
For the needed .so's i created the links.
BTW: What to do for with packages that exist not in 32-bit version (like mcrypt)?
If you have a 32bit installation at hands, just copy them.
Maybe --libdir=/usr/lib helps as well
I tried but it doesn't help :o(
Any other suggestions please?
Many 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
participants (4)
-
Andreas Jaeger
-
Armand Ang
-
Reto M. Kiefer
-
Stefan Fent