Informix module Compile Failure on PHP4.1 or 4.2
| From: | Zachary Hamm | Date: | Thu, 09 May 2002 16:23:09 +0000 |
| Subject: | Informix module Compile Failure on PHP4.1 or 4.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6929@lists.php.net to get a copy of this message | ||
I cannot get PHP to compile on RH linux 7.2 with Informix as a shared module; keeps giving me
"libtool: link: only absolute run-paths are allowed" error.
/bin/sh /php/php-4.1.1/libtool --silent --mode=compile gcc -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic -c ifx.c && touch ifx.slo
/bin/sh /php/php-4.1.1/libtool --silent --mode=link gcc -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic -o informix.la -avoid-version -module -rpath
/php/php-4.1.1/modules ifx.lo -Rext/informix -Lext/informix
-R/opt/informix/lib/esql -L/opt/informix/lib/esql -R/opt/informix/lib
-L/opt/informix/lib -lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt
-lphpifx -lifglx
libtool: link: only absolute run-paths are allowed
make[3]: *** [informix.la] Error 1
make[3]: Leaving directory `/php/php-4.1.1/ext/informix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/php/php-4.1.1/ext/informix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/php/php-4.1.1/ext'
make: *** [all-recursive] Error 1
Configure was input as
[root@elliott php-4.1.1]# ./configure --with-apxs=/usr/sbin/apxs
--without-mysql --enable-shared --with-informix=shared
Does anyone know how to fix this in libtool?
Any ideas?
Zack