From:             [EMAIL PROTECTED]
Operating system: linux
PHP version:      4.0.6
PHP Bug Type:     Compile Failure
Bug description:  compiling of apache and php fails with cannot open -lphpifx

Compiling apache 1.3.22 and php with informix support
fails with 
/usr/i486-linux/bin/ld: cannot open -lphpifx: No such file or directory

First i have configured and compiled php with
--with-apache=/usr/src/apache_1.3.22" --enable-track-vars \
--with-informix=/opt/informix --enable-magic-quotes \
--without-mysql

This and the final "make install" runs fine.

Then i have tried to configure apache with
"--with-layout=Apache" \ "--activate-module=src/modules/php4/libphp4.a" \
"--enable-module=rewrite" \
"--enable-module=info" \
"--disable-module=imap" \
"--enable-module=expires" \
"--enable-module=log_agent" \
"--enable-module=so" \
"--prefix=/var/apache" \

The configure script gives me then the error 
Configuring for Apache, Version 1.3.22
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
cd ..; gcc  -DLINUX=22 -I/usr/src/php-4.0.6 -I/usr/src/php-4.0.6/main
-I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6/Zend
-I/usr/src/php-4.0.6/Zend -I/usr/src/php-4.0.6/TSRM
-I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6 -DUSE_EXPAT
-I./lib/expat-lite -O2 -mpentium  `./apaci`     -o helpers/dummy
helpers/dummy.c   -Wl,-rpath,/opt/informix/lib
-Wl,-rpath,/opt/informix/lib/esql
-Wl,-rpath,/usr/src/php-4.0.6/ext/informix  -rdynamic -L/opt/informix/lib
-L/opt/informix/lib/esql -L/usr/src/php-4.0.6/ext/informix -Lmodules/php4
-L../modules/php4 -L../../modules/php4 -lmodphp4  -lpam  -lifsql -lifasf
-lifgen -lifos -lifgls -lc -ldl -lcrypt -lphpifx -lifglx -ldl -lcrypt
-lresolv -lm -ldl -lnsl  -lresolv   -lm -lcrypt -ldbm -ldl
/usr/i486-linux/bin/ld: cannot open -lphpifx: No such file or directory
collect2: ld returned 1 exit status
make: *** [dummy] Error 1

I have then searched the whole system about a libphpifx
but nothing found. If i remove the entrie -lphpifx from
libphp4.module i get an other error message saying
/opt/informix/lib/esql/libifsql.so: undefined reference to `ifx_checkAPI

I had no problems compiling apache 1.3.20 with informix
support.

I am using the Informix csdk 2.40UC1.

Uli
-- 
Edit bug report at: http://bugs.php.net/?id=14323&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]

Reply via email to