Informix and PHP
Posted in 2005
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
hi, on a Pseries P570 with Linux Redhat EL3u3 i have installed Informix 10 and csdk 2.90. when i try to compile php4.3.1 with informix enabled i have an error in the make : /usr/bin/ld: skipping incompatible /u/informix/lib/esql/libifsql.so when searching for -lifsql /usr/bin/ld: skipping incompatible /u/informix/lib/esql/libifsql.a when searching for -lifsql /usr/bin/ld: cannot find -lifsql collect2: ld returned 1 exit status make: *** [libphp4.la] Error 1 i have exactly the same config where informix/csdk have been compiled on ... so i don't understand ! can anyone help me ? thanks
The problem is that i am compiling on a system where the default is not to compile 64- bit binary objects so i needed to run the configure command with a CFLAGS option : ./configure CFLAGS="-m64 -g -O2" ...... -m64 to generate code for a 64-bit environment. many thanks to Sandor Szabo From IBM, who gave me the solution "Franck ABELLI" <f.abelli@corsica ferries.com> To Sandor Szabo/Germany/IBM@IBMDE 03.05.2005 18:28 cc Subject Re: Informix and PHP [4869] yes, its exactly what i have... ----- Original Message ----- From: "Sandor Szabo" <sandor.szabo@de.ibm.com> To: "Franck ABELLI" <f.abelli@corsicaferries.com> Sent: Tuesday, May 03, 2005 6:16 PM Subject: Re: Informix and PHP [4869] > Hi > Did you downloded the right CSDK for PPC processors? > Can you check the machine notes in > $INFORMIXDIR/release/en_us/0333/ESQLC_2.9 > This file has the build info! > > > bye > Sandor > > > > > > "Franck ABELLI" > <f.abelli@corsica > ferries.com> To > Sent by: ids@iiug.org > forum.subscriber@ cc > iiug.org > Subject > Informix and PHP [4869] > 03.05.2005 15:00 > > > > > > > > > > hi, > on a Pseries P570 with Linux Redhat EL3u3 > i have installed Informix 10 and csdk 2.90. > when i try to compile php4.3.1 with informix enabled i have an error in > the > make : > > /usr/bin/ld: skipping incompatible /u/informix/lib/esql/libifsql.so when > searching for -lifsql > /usr/bin/ld: skipping incompatible /u/informix/lib/esql/libifsql.a when > searching for -lifsql > /usr/bin/ld: cannot find -lifsql > collect2: ld returned 1 exit status > make: *** [libphp4.la] Error 1 > > i have exactly the same config where informix/csdk have been compiled on > ... > so i don't understand ! > can anyone help me ? > thanks >