#37677 [Opn->Bgs]: Apache + Oracle Instant Client 10.2 + Linux PPC

From: Date: Fri, 02 Jun 2006 11:43:23 +0000
Subject: #37677 [Opn->Bgs]: Apache + Oracle Instant Client 10.2 + Linux PPC
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97976@lists.php.net to get a copy of this message
ID: 37677 Updated by: tony2001@php.net 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

« previous php.bugs (#97976) next »