ID:               25709
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lcba813 at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Mac OS X
 PHP Version:      5.0.0b1 (beta1)
 New Comment:

This is a conflict between the libxml and oracle libs.
Oracle happens to be using same symbols names.
Report to Oracle..



Previous Comments:
------------------------------------------------------------------------

[2003-09-30 18:40:55] lcba813 at yahoo dot com

Description:
------------
Hello,

I have Mac OS X 10.2.6 and I'm trying to compile PHP to work with
Oracle (I've downloaded 4.3.3 and 5.0.0b1),

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 
PHP source: php-5.0.0b1 or php-4.3.3

When the libphp file is being compiled, I get this (for php 5):

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 

or this (for php 4)

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/libphp4.bundle] Error 1 

In the bugs database this bug http://bugs.php.net/bug.php?id=14483
seems alike...

Reproduce code:
---------------
./configure --with-apxs --with-oci8 --with-gd
--with-mysql=/usr/local/mysql --with-oracle --with-sqlite
--with-libjpeg=/sw --with-libtiff=/sw --with-ligpng=/sw
--with-zlib-dir=/usr/local --with-pgsql=/usr/local/pgsql --with-xml
--with-dom=/sw --with-jpeg-dir=/sw --with-png-dir=/sw
--with-zlib-dir=/usr/local

make

Expected result:
----------------
compile succesfull!! :)

Actual result:
--------------
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 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25709&edit=1

Reply via email to