From:             lcba813 at yahoo dot com
Operating system: Mac OS X
PHP version:      5.0.0b1 (beta1)
PHP Bug Type:     Compile Failure
Bug description:  Error compiling --with-oci8

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 bug report at http://bugs.php.net/?id=25709&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25709&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25709&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25709&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25709&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25709&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25709&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25709&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25709&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25709&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25709&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25709&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25709&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25709&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25709&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25709&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25709&r=float

Reply via email to