#14547 [NoF->Opn]: Informix as shared module libtool rpath problem

From: Date: Fri, 31 Jan 2003 16:18:48 +0000
Subject: #14547 [NoF->Opn]: Informix as shared module libtool rpath problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31770@lists.php.net to get a copy of this message
ID: 14547 User updated by: zhamm@secmgmt.com Reported By: zhamm@secmgmt.com -Status: No Feedback +Status: Open Bug Type: Informix related Operating System: RH Linux 7.1 PHP Version: 4.1.0 New Comment: This got listed as no-feedback? What gives? Previous Comments: ------------------------------------------------------------------------ [2002-10-21 10:02:57] mike@secmgmt.com /bin/sh /home/mike/php-4.2.3/libtool --silent --mode=link gcc -I. -I/home/mike/php-4.2.3/ext/informix -I/home/mike/php-4.2.3/main -I/home/mike/php-4.2.3 -I/home/mike/php-4.2.3/Zend -I/opt/informix/incl/esql -I/home/mike/php-4.2.3/ext/mysql/libmysql -I/home/mike/php-4.2.3/ext/xml/expat -I/home/mike/php-4.2.3/TSRM -g -O2 -o informix.la -avoid-version -module -rpath /home/mike/php-4.2.3/modules ifx.lo -R/home/mike/php-4.2.3/ext/informix -L/home/mike/php-4.2.3/ext/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 -lifglx Made it work, I had to remove -lphpifx and add absolute paths to some of the stuff. I don't understand why this can't be fixed, the bug and fix have been documented for months now, what gives? 1. Change makefile to use absolute paths for libtool. 2. Remove -lphpfix from the buld line. ------------------------------------------------------------------------ [2002-10-21 09:45:19] mike@secmgmt.com ./configure --with-informix=shared Still fails, with: /php-4.2.3 -I/home/mike/php-4.2.3/Zend -I/opt/informix/incl/esql -I/home/mike/php-4.2.3/ext/mysql/libmysql -I/home/mike/php-4.2.3/ext/xml/expat -I/home/mike/php-4.2.3/TSRM -g -O2 -o informix.la -avoid-version -module -rpath /home/mike/php-4.2.3/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 This can be fixed easily by hand, but I don't know how to fix it with the configure stuff. It is still a bug. ------------------------------------------------------------------------ [2002-07-16 01:00:08] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-06-16 00:31:43] sniper@php.net Works just fine as shared too. Please let us know if the snapshot works for you or not. ------------------------------------------------------------------------ [2002-06-15 23:56:08] zhamm@secmgmt.com Please try compiling it as shared. I'll try the same from the snapshot. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14547 -- Edit this bug report at http://bugs.php.net/?id=14547&edit=1

« previous php.bugs (#31770) next »