Re: Bug #14547: Informix as shared module libtool rpath problem

From: Date: Sun, 16 Dec 2001 15:12:58 +0000
Subject: Re: Bug #14547: Informix as shared module libtool rpath problem
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74024@lists.php.net to get a copy of this message
Nope, I got a similar error: make[3]: Entering directory `/php/php-4.1.0/ext/informix' (if test -d /opt/informix; then \ THREADLIB=POSIX /opt/informix/bin/esql -e -EDHAVE_IFX_IUS /php/php-4.1.0/ext/ informix/ifx.ec; \ else \ touch ifx.c; \ fi) /bin/sh /php/php-4.1.0/libtool --silent --mode=compile gcc -I. -I/php/php-4.1.0/ ext/informix -I/php/php-4.1.0/main -I/php/php-4.1.0 -I/usr/include/apache -I/php/php-4.1.0/Zend -I/opt/informix/incl/esql -I/usr/include/mysql -I/php/php-4.1.0/ext/xml/expat -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/php/php-4.1.0/TSRM -g -O2 -prefer-pic -c ifx.c && touch ifx.slo /bin/sh /php/php-4.1.0/libtool --silent --mode=link gcc -I. -I/php/php-4.1.0/ext/informix -I/php/php-4.1.0/main -I/php/php-4.1.0 -I/usr/include/apache -I/php/php-4.1.0/Zend -I/opt/informix/incl/esql -I/usr/include/mysql -I/php/php-4.1.0/ext/xml/expat -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/php/php -4.1.0/TSRM -g -O2 -prefer-pic -o informix.la -avoid-version -module -rpath /php/php-4.1.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 -l ifasf -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.0/ext/informix' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/php/php-4.1.0/ext/informix' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/php/php-4.1.0/ext' make: *** [all-recursive] Error 1 > For a quick test, can you go to php-4.1.0/ext/informix, issue > > phpize > configure > make install > > and see if it gets properly installed in your extension > directory? > > On Sun, Dec 16, 2001 at 02:46:43PM -0000, zhamm@secmgmt.com wrote : >> From: zhamm@secmgmt.com >> Operating system: RH Linux 7.1 >> PHP version: 4.1.0 >> PHP Bug Type: Compile Failure >> Bug description: Informix as shared module libtool rpath problem >> >> When configuring/compiling PHP 4.1.0 on RH 7.1, I can successfully >> compile PHP with informix built in, but not as a shared module. >> (INFORMIXDIR, INFORMIXSERVER, and PATH already set) Thus, >> >> "# ./configure --with-apxs=/usr/sbin/apxs --with-informix >> --enable-shared --with-mysql=/usr --with-gd --with-zlib --with-gettext >> --with-png" >> >> works just fine. However, >> >> "# ./configure --with-apxs=/usr/sbin/apxs --enable-shared >> --with-informix=shared --with-mysql=/usr --with-gd --with-zlib >> --with-gettext --with-png" >> fails with: >> >> Making install in informix >> make[2]: Entering directory `/php/php-4.1.0/ext/informix' >> make[3]: Entering directory `/php/php-4.1.0/ext/informix' >> /bin/sh /php/php-4.1.0/libtool --silent --mode=link gcc -I. >> -I/php/php-4.1.0/ext/informix -I/php/php-4.1.0/main -I/php/php-4.1.0 >> -I/usr/include/apache -I/php/php-4.1.0/Zend -I/opt/informix/incl/esql >> -I/usr/include/mysql -I/php/php-4.1.0/ext/xml/expat -DLINUX=22 >> -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/php/php-4.1.0/TSRM -g >> -O2 -prefer-pic -o informix.la -avoid-version -module -rpath /p >> hp/php-4.1.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 -l >> ifasf -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.0/ext/informix' >> make[2]: *** [install-recursive] Error 1 >> make[2]: Leaving directory `/php/php-4.1.0/ext/informix' >> make[1]: *** [install-recursive] Error 1 >> make[1]: Leaving directory `/php/php-4.1.0/ext' >> make: *** [install-recursive] Error 1 >> >> Since I know nothing about libtool, I'm not even sure where to start >> to make a path absolute. I *guess* this is a bug, but perhaps maybe >> pilot error? Should I be using some other configuration directive? >> This is the format I used with 4.0.2 and it worked fine. >> >> >> Zack >> -- >> Edit bug report at: >> http://bugs.php.net/?id=14547&edit=1 >> >> >> -- >> PHP Development Mailing List <http://www.php.net/> >> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net >> For additional commands, e-mail: php-dev-help@lists.php.net >> To contact the list administrators, e-mail: >> php-list-admin@lists.php.net > > -- > Please always Cc to me when replying to me on the lists.

« previous php.dev (#74024) next »