#20179 [Opn->Fbk]: Apache ./configure fails after a static installation of php with oci8 support.
| From: | sniper@php.net | Date: | Thu, 31 Oct 2002 01:17:12 +0000 |
| Subject: | #20179 [Opn->Fbk]: Apache ./configure fails after a static installation of php with oci8 support. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23754@lists.php.net to get a copy of this message | ||
ID: 20179
Updated by: sniper@php.net
Reported By: bcrackel@chartercom.com
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: Linux 2.4.7-10smp (RedHat 7.2)
PHP Version: 4.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-10-30 17:48:54] bcrackel@chartercom.com
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20179&edit=1