|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-30 19:17 UTC] sniper@php.net
[2002-11-01 13:20 UTC] bcrackel at chartercom dot com
[2002-11-01 21:45 UTC] sniper@php.net
[2002-11-04 09:23 UTC] bcrackel at chartercom dot com
[2002-11-07 20:24 UTC] sniper@php.net
[2002-11-21 17:06 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 09:00:01 2025 UTC |
After installing php via `./configure --enable-sockets --with-mysql --with-oci8=/home/oracle/OraHome1 --with-apache=../apache_1.3.27` then `make` and `make install`, apache's ./configure script dies with the following error: $ ./configure --enable-module=so --enable-module=access --enable-module=autoindex --enable-module=auth --prefix=/www --activate-module=src/modules/php4/libphp4.a + 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 -I/root/php-4.2.3 -I/root/php-4.2.3/main -I/root/php-4.2.3/main -I/root/php-4.2.3/Zend -I/root/php-4.2.3/Zend -I/root/php-4.2.3/TSRM -I/root/php-4.2.3/TSRM -I/root/php-4.2.3 `./apaci` -o helpers/dummy helpers/dummy.c -Wl,-rpath,/home/oracle/OraHome1/lib -rdynamic -L/home/oracle/OraHome1/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnls8 -lc3v6 -lcore8 -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl -lm -ldl -lm -lm -lcrypt -lexpat -ldl /usr/bin/ld: cannot find -lclient collect2: ld returned 1 exit status make: *** [dummy] Error 1 I tried editing src/modules/php4/libphp4.module to remove all of the -l options that were causing the errors (-lclient, -lcommon, -lsqlnet, -lncr, -lgeneric, -lepc, -lnlsrtl3, -lc3v6, and -lcore3), and it configured fine, but then failed during `make`: gcc -c -I./os/unix -I./include -DLINUX=22 -I/root/php-4.2.3 -I/root/php-4.2.3/main -I/root/php-4.2.3/main -I/root/php-4.2.3/Zend -I/root/php-4.2.3/Zend -I/root/php-4.2.3/TSRM -I/root/php-4.2.3/TSRM -I/root/php-4.2.3 `./apaci` buildmark.cgcc -DLINUX=22 -I/root/php-4.2.3 -I/root/php-4.2.3/main -I/root/php-4.2.3/main -I/root/php-4.2.3/Zend -I/root/php-4.2.3/Zend -I/root/php-4.2.3/TSRM -I/root/php-4.2.3/TSRM -I/root/php-4.2.3 `./apaci` -rdynamic \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a -Wl,-rpath,/home/oracle/OraHome1/lib -rdynamic -L/home/oracle/OraHome1/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl -lm -lm -lcrypt -lexpat -ldl modules/php4/libphp4.a(oracle.o): In function `_close_oraconn': /root/php-4.2.3/ext/oracle/oracle.c:214: undefined reference to `ologof' modules/php4/libphp4.a(oracle.o): In function `_close_oracur': /root/php-4.2.3/ext/oracle/oracle.c:267: undefined reference to `oclose' modules/php4/libphp4.a(oracle.o): In function `_ora_ping': /root/php-4.2.3/ext/oracle/oracle.c:385: undefined reference to `oopen' /root/php-4.2.3/ext/oracle/oracle.c:389: undefined reference to `oparse' /root/php-4.2.3/ext/oracle/oracle.c:1044: undefined reference to `oexfet' /root/php-4.2.3/ext/oracle/oracle.c:1052: undefined reference to `oexec' modules/php4/libphp4.a(oracle.o): In function `zif_ora_fetch': /root/php-4.2.3/ext/oracle/oracle.c:1085: undefined reference to `ofetch' modules/php4/libphp4.a(oracle.o): In function `zif_ora_fetch_into': /root/php-4.2.3/ext/oracle/oracle.c:1132: undefined reference to `ofetch' /root/php-4.2.3/ext/oracle/oracle.c:1189: undefined reference to `oflng' modules/php4/libphp4.a(oracle.o): In function `zif_ora_getcolumn': /root/php-4.2.3/ext/oracle/oracle.c:1414: undefined reference to `ofetch' /root/php-4.2.3/ext/oracle/oracle.c:1471: undefined reference to `oflng' modules/php4/libphp4.a(oracle.o): In function `ora_error': /root/php-4.2.3/ext/oracle/oracle.c:1616: undefined reference to `oerhms' modules/php4/libphp4.a(oracle.o): In function `ora_describe_define': /root/php-4.2.3/ext/oracle/oracle.c:1657: undefined reference to `odescr' /root/php-4.2.3/ext/oracle/oracle.c:1682: undefined reference to `odescr' /root/php-4.2.3/ext/oracle/oracle.c:1714: undefined reference to `odefin' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/root/apache_1.3.27/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/root/apache_1.3.27' make: *** [build] Error 2