ID: 37677
Updated by: [EMAIL PROTECTED]
Reported By: ipaz at ufg dot es
-Status: Open
+Status: Bogus
Bug Type: OCI8 related
Operating System: RHEL 2.6.9-34.EL #1 PPC
PHP Version: 4.4.2
New Comment:
/usr/bin/ld: skipping incompatible /home/instantclient/libclntsh.so
when searching
Looks like you're using wrong library (32bit lib with 64bit build or
vice versa).
Anyway, not PHP problem.
Previous Comments:
------------------------------------------------------------------------
[2006-06-02 11:38:44] ipaz at ufg dot es
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 this bug report at http://bugs.php.net/?id=37677&edit=1