Unable to compile with imap AND oracle
| From: | Kaj-Michael Lang | Date: | Tue, 07 Mar 2000 11:52:53 +0000 |
| Subject: | Unable to compile with imap AND oracle | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11667@lists.php.net to get a copy of this message | ||
I'm trying to build php4pl1 with oracle and imap support but it won't work.
(./configure --with-imap --with-oci8 --with-apache=/usr/local/src/files/apac
he_1.3.12/)
Compilation of php goes fine but when I try to activate the module in Apache
I get this:
----------
+ 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.
cd ..;
gcc -DSOLARIS2=270 -I/usr/local/src/files/php-4.0b4pl1 -I/usr/local/src/fil
es/php-4.0b4pl1/Zend -I/usr/local/src/files/php-4.0b4pl1/Zend -I/usr/local/s
rc/files/php-4.0b4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci -o helpers/dummy
helpers/dummy.c -R/usr/ucblib -R/usr/local/lib -L/usr/ucblib -L/usr/local
/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm
-L/usr/ora01//lib -R/usr/ora01//lib -lclntsh -lm -L/usr/ora01//lib -R/usr/o
ra01//lib -lclntsh -lm -lpam -ldl -ldl -lc-client -lresolv -lresolv -lm -lcr
ypt -lsocket -lnsl -lsocket -lsocket -lnsl
Undefined first referenced
symbol in file
mm_notify /usr/local/lib/libc-client.a(osdep.o)
mm_list /usr/local/lib/libc-client.a(dummy.o)
mm_fatal /usr/local/lib/libc-client.a(osdep.o)
mm_status /usr/local/lib/libc-client.a(mail.o)
mm_dlog /usr/local/lib/libc-client.a(mail.o)
mm_nocritical /usr/local/lib/libc-client.a(unix.o)
mm_expunged /usr/local/lib/libc-client.a(mail.o)
mm_flags /usr/local/lib/libc-client.a(unix.o)
mm_lsub /usr/local/lib/libc-client.a(dummy.o)
mm_searched /usr/local/lib/libc-client.a(mail.o)
mm_diskerror /usr/local/lib/libc-client.a(unix.o)
mm_exists /usr/local/lib/libc-client.a(mail.o)
mm_login /usr/local/lib/libc-client.a(osdep.o)
mm_log /usr/local/lib/libc-client.a(osdep.o)
mm_critical /usr/local/lib/libc-client.a(unix.o)
ld: fatal: Symbol referencing errors. No output written to helpers/dummy
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
======== Error Output for sanity check ========
============= End of Error Report =============
Aborting!
----------
But if I compile php with just oracle
(./configure --with-oci8 --with-apache=...) or just imap
(./configure --with-imap --with-apache=...) then it works. But I need both!
----------------------------------------------------------------------------
---
Kaj-Michael Lang, Kaskentie 5 C9 20720 Turku, milang@tal.org
http://www.tal.org