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, [EMAIL PROTECTED] wrote : 
> From:             [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
Please always Cc to me when replying to me on the lists.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to