php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25709 Error compiling --with-oci8
Submitted: 2003-09-30 18:40 UTC Modified: 2003-10-22 04:47 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: lcba813 at yahoo dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.0b1 (beta1) OS: Mac OS X
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lcba813 at yahoo dot com
New email:
PHP Version: OS:

 

 [2003-09-30 18:40 UTC] 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 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-22 04:47 UTC] sniper@php.net
This is a conflict between the libxml and oracle libs.
Oracle happens to be using same symbols names.
Report to Oracle..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 09:01:32 2025 UTC