|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-06-02 11:43 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 20:00:01 2025 UTC |
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