|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-12-03 10:17 UTC] uli at transcom dot de
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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 05:00:01 2025 UTC |
compiling linux:/usr/src/packages/SOURCES/apache_1.3.26 # ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a one error Configuring for Apache, Version 1.3.26 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o php4_module uses ConfigStart/End + using system Expat + checking sizeof various data types + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. ======== Error Output for sanity check ======== cd ..; gcc -DLINUX=22 -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c -Wl,-rpath,/home/informix/lib -Wl,-rpath,/home/informix/lib/esql -Wl,-rpath,/usr/src/packages/SOURCES/php-4.3.1/ext/informix -rdynamic -L/home/informix/lib -L/home/informix/lib/esql -L/usr/src/packages/SOURCES/php-4.3.1/ext/informix -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -rdynamic -L/home/informix/lib -L/home/informix/lib/esql -L/usr/src/packages/SOURCES/php-4.3.1/ext/informix -lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt -lphpifx -lifglx -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lm -lcrypt -lexpat /home/informix/lib/esql/libifos.so: the use of `mktemp' is dangerous, better use `mkstemp' /home/informix/lib/esql/libifsql.so: undefined reference to `ifx_checkAPI' collect2: ld returned 1 exit status make: *** [dummy] Error 1 ============= End of Error Report ============= Aborting! help me pliscompiling linux:/usr/src/packages/SOURCES/apache_1.3.26 # ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a one error Configuring for Apache, Version 1.3.26 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o php4_module uses ConfigStart/End + using system Expat + checking sizeof various data types + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. ======== Error Output for sanity check ======== cd ..; gcc -DLINUX=22 -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c -Wl,-rpath,/home/informix/lib -Wl,-rpath,/home/informix/lib/esql -Wl,-rpath,/usr/src/packages/SOURCES/php-4.3.1/ext/informix -rdynamic -L/home/informix/lib -L/home/informix/lib/esql -L/usr/src/packages/SOURCES/php-4.3.1/ext/informix -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -rdynamic -L/home/informix/lib -L/home/informix/lib/esql -L/usr/src/packages/SOURCES/php-4.3.1/ext/informix -lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt -lphpifx -lifglx -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lm -lcrypt -lexpat /home/informix/lib/esql/libifos.so: the use of `mktemp' is dangerous, better use `mkstemp' /home/informix/lib/esql/libifsql.so: undefined reference to `ifx_checkAPI' collect2: ld returned 1 exit status make: *** [dummy] Error 1 ============= End of Error Report ============= Aborting! help me please