From: ipaz at ufg dot es
Operating system: RHEL 2.6.9-34.EL #1 PPC
PHP version: 4.4.2
PHP Bug Type: OCI8 related
Bug description: Apache + Oracle Instant Client 10.2 + Linux PPC
Description:
------------
Im trying to compile PHP4.4.2 using --with-oci8-instant-client on a
Red Hat over PPC (IBM pServer). Instant client does work with sql*plus. It
fails trying to link OCI8 client libraries.
Im using instant-client for linux on Power. The debug.log from
configure is:
CONFIGURE: './configure'
'--with-oci8-instant-client=/home/instantclient' '--p
refix=/web/php' '--with-apxs2=/web/httpd/bin/apxs' '--enable-sigchild'
'--with-c
onfig-file-path=/web'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/home/instantclient/sdk/include
LDFLAGS: -Wl,-rpath,/home/instantclient -L/home/instantclient
LIBS: -lresolv -lm -ldl -lnsl -lclntsh
DLIBS:
SAPI: apache2handler
PHP_RPATHS: /home/instantclient
uname -a: Linux WEB 2.6.9-34.EL #1 SMP Fri Feb 24 16:46:57 EST 2006
ppc64 ppc64 ppc64 GNU/Linux
gcc -o conftest -g -O2 -Wl,-rpath,/home/instantclient
-L/home/instantclient co
nftest.c -lresolv -lm -ldl -lnsl -lclntsh 1>&5
/usr/bin/ld: skipping incompatible /home/instantclient/libclntsh.so when
searchi
ng for -lclntsh
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
--
Edit bug report at http://bugs.php.net/?id=37677&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=37677&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=37677&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=37677&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37677&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=37677&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37677&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37677&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37677&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37677&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37677&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=37677&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=37677&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37677&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37677&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37677&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37677&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37677&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37677&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37677&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37677&r=mysqlcfg