PHP with OCI8
| From: | Jason Kenneth Carter | Date: | Tue, 05 Aug 2003 16:09:14 +0000 |
| Subject: | PHP with OCI8 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11391@lists.php.net to get a copy of this message | ||
I cannot seem to successfully build PHP5 for Mac OS X Server with Oracle
support. Here is my configuration:
./configure \
--with-apxs \
--with-oci8=/Users/oracle/v920 \
--with-dom=/sw \
--with-zlib-dir=/sw
Platform: Mac OS X Server 10.2.6
Kernel: Darwin 6.6
Oracle Release: Oracle9i Db R2 Ent Edition for Mac OS X v10.2 Jaguar
ORACLE_HOME: /Users/oracle/v920
PHP5 source: /src/php-5.0.0b1
/sw is where Fink installed the libxml2 and zlib libraries when I ran
"fink install libxml2".
When I run "make", I get the following error:
ld: multiple definitions of symbol _isStandalone
/sw/lib/libxml2.dylib(SAX.lo) definition of _isStandalone
/Users/oracle/v920/lib/libclntsh.dylib(oraxml.o) definition of
_isStandalone
make: *** [libs/libphp5.bundle] Error 1
If I remove the --with-oci8 option, everything builds and installs
flawlessly, so the problem must be there.
Any suggestions would be greatly appreciated!
Jason :)