From:
Operating system: HP-UX 11.31
PHP version: 5.2.17
Package: *Configuration Issues
Bug Type: Bug
Bug description:ld: Mismatched ABI for -lclntsh
Description:
------------
Hi,
I need to compile PHP 5.2.17 with ORACLE InstantClient( 11.1.0.7 64bits).
My SO is a HP-UX Itanium (11.31).
In "configure" phase any problem appears, this is my configure command:
./configure --with-apxs2=$ORACLE_HOME/ohs/bin/apxs --prefix=$ORACLE_HOME
--with-config-file-path=$CONFIG_FILE_PATH
--with-oci8=instantclient,/opt/oracle/as/ohsext11/instantclient_11_1
--disable-rpath
But the "make" phase fails:
(...)
end_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo
Zend/zend_sprintf
.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_ts_hash
.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo
Zend/zend
_exceptions.lo Zend/zend_strtod.lo Zend/zend_objects.lo
Zend/zend_object_handler
s.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo
Zend/zend_execute.lo
sapi/apache2handler/mod_php5.lo sapi/apache2handler/sapi_apache2.lo
sapi/apache2
handler/apache_config.lo sapi/apache2handler/php_functions.lo
main/internal_func
tions.lo -liconv -lrt -lm -lnsl -lxml2 -lz -liconv -lm -lxml2 -lz -liconv
-lm -l clntsh
-lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxm
l2 -lz -liconv -lm
-o libphp5.la
ld: Mismatched ABI for -lclntsh, found
/opt/oracle/as/ohsext11/instantclient_11_
1/libclntsh.so
Fatal error.
collect2: ld returned 1 exit status
*** Error exit code 1
--
Edit bug report at http://bugs.php.net/bug.php?id=53919&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=53919&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=53919&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=53919&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=53919&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=53919&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=53919&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=53919&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=53919&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=53919&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=53919&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=53919&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=53919&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=53919&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=53919&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53919&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53919&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=53919&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=53919&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=53919&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=53919&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=53919&r=mysqlcfg