Re: problems compiling with-informix
| From: | Luigi Vellucci | Date: | Tue, 26 Aug 2003 13:53:18 +0000 |
| Subject: | Re: problems compiling with-informix | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30095@lists.php.net to get a copy of this message | ||
Paul Gardiner wrote:
I run Informix (SE7.25.UC4 - UC5 had a major bug) on RH8.0. It wouldn't run on RH9.0 because of the glibc 2.3.x conflict. I beleive Informix only supports glibc 2.2.x. at the moment. If it's possible, use RH8.0 as I know it works. - Paul - ----- Original Message ----- From: <matiasz@info.unlp.edu.ar> To: <php-db@lists.php.net> Sent: Monday, August 18, 2003 3:54 PM Subject: [PHP-DB] problems compiling with-informixI having the following problem when I try to compile the source: -I/usr/src/redhat/BUILD/php-4.1.2/TSRM -I/usr/src/redhat/BUILD/php-4.1.2/build-cgi/TSRM -O2 -march=i386hi, my name is matts. when trying to compile php (as cgi or module) i get the following: ./configure --with-informix=/opt/informix * make * ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam': /usr/src/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of`tempnam' isdangerous, better use `mkstemp' /opt/informix/lib/esql/libifgls.so: undefined reference to `__ctype_b' /opt/informix/lib/esql/libifgls.so: undefined reference to`__ctype_toupper'/opt/informix/lib/esql/libifgls.so: undefined reference to`__ctype_tolower'collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 i know that my_tempnam warnings are not important, but i cant figure outwhat iswrong with my libifgls.so I'm working in a Red Hat 9. I compiled php without informix support succefully several times. I have installed the Informix Client SDK 2.81 (I believe) I have all the environment variables ok (INFORMIXDIR, INFORMIXSERVER... ETC) I would apreciate any help !!!! thanks in advance. ------------------------------------------------- This mail sent through IMP: http://mail.info.unlp.edu.ar/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpHi I'm trying to compile php 4.1.2 with informix support from the SRPMS in RedHat 7.3 but I didn't get it. I downloaded the latest version of SDK Client 2.81.
-mcpu=i686 -fPIC -L/usr/kerberos/lib -o php -export-dynamic stub.lo libphp4.la/usr/bin/ld: cannot find -lifsql collect2: ld returned 1 exit status make[1]: *** [php] Error 1 make[1]: Saliendo directorio `/usr/src/redhat/BUILD/php-4.1.2/build-cgi' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.32322 (%build) RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.32322 (%build)Can somebody help me? Thanks in advance. Luigi Vellucci.