Bug #15177 Updated: Informix Shared Module will not compile
| From: | zhamm at nc dot rr dot com | Date: | Wed, 08 May 2002 02:50:58 +0000 |
| Subject: | Bug #15177 Updated: Informix Shared Module will not compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7185@lists.php.net to get a copy of this message | ||
ID: 15177
Updated by: zhamm@nc.rr.com
Reported By: zhamm@nc.rr.com
Status: Critical
Bug Type: Compile Failure
Operating System: RH Linux 7.2
PHP Version: 4.1.1
New Comment:
Still busted in 4.2! I thought this was marked critical for 4.2? Same
exact error for me (same platform):
/bin/sh /home/zhamm/php-4.2.0/libtool --silent --mode=compile gcc -I.
-I/home/zhamm/php-4.2.0/ext/informix -I/home/zhamm/php-4.2.0/main
-I/home/zhamm/php-4.2.0 -I/home/zhamm/php-4.2.0/Zend
-I/opt/informix/incl/esql -I/home/zhamm/php-4.2.0/TSRM -g -O2
-prefer-pic -c ifx.c && touch ifx.slo
/bin/sh /home/zhamm/php-4.2.0/libtool --silent --mode=link gcc -I.
-I/home/zhamm/php-4.2.0/ext/informix -I/home/zhamm/php-4.2.0/main
-I/home/zhamm/php-4.2.0 -I/home/zhamm/php-4.2.0/Zend
-I/opt/informix/incl/esql -I/home/zhamm/php-4.2.0/TSRM -g -O2 -o
informix.la -avoid-version -module -rpath /home/zhamm/php-4.2.0/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 `/home/zhamm/php-4.2.0/ext/informix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zhamm/php-4.2.0/ext/informix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhamm/php-4.2.0/ext'
make: *** [all-recursive] Error 1
Previous Comments:
------------------------------------------------------------------------
[2002-04-02 20:36:35] zhamm@nc.rr.com
This is still broken for php-4.2.0RC1:
libtool: link: only absolute run-paths are allowed
make[3]: *** [informix.la] Error 1
Ran configure with:
# ./configure --with-apxs=/usr/sbin/apxs --enable-shared
--with-informix=shared --without-mysql --without-xml
Does anyone know how to fix this in libtool?
------------------------------------------------------------------------
[2002-03-07 12:12:10] truth@ichaos.com
This might possibly be related to bug number 15803 as this is the last
time (php-4.0.4pl1) I was able to compile Informix with IBM DB2 support
at the same time as well...
------------------------------------------------------------------------
[2002-03-03 05:34:47] derick@php.net
Marking as Critical for release 4.2.0
------------------------------------------------------------------------
[2002-03-03 05:30:06] lauri.tischler@efore.fi
The last version where compile with-informix worked was
php4-4.0.4pl1
None after that work, I've tryed them all, including snapshots
------------------------------------------------------------------------
[2002-01-23 00:45:02] zhamm@nc.rr.com
Same problem as with 4.1.0. Informix will compile statically in PHP,
but will not compile as a shared module. I get the same error as in
4.1.0:
/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
Any ideas?
Zack
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15177&edit=1