I cannot seem to successfully build PHP5 for Mac OS X Server with Oracle
support. Here is my configuration:
[FONT=courier new]./configure \
--with-apxs \
--with-oci8=/Users/oracle/v920 \
--with-dom=/sw \
--with-zlib-dir=/sw[/FONT]
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
[FONT=courier new]/sw[/FONT] is where Fink installed the libxml2 and zlib libraries when I ran [FONT=courier new]fink install libxml2[/FONT].
When I run [FONT=courier new]make[/FONT], I get the following error:
[FONT=courier new]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[/FONT]
If I remove the [FONT=courier new]--with-oci8[/FONT] option, everything builds and installs flawlessly, so the problem must be there.
Any suggestions would be greatly appreciated!
Jason 🙂