php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37677 Apache + Oracle Instant Client 10.2 + Linux PPC
Submitted: 2006-06-02 11:38 UTC Modified: 2006-06-02 11:43 UTC
From: ipaz at ufg dot es Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.4.2 OS: RHEL 2.6.9-34.EL #1 PPC
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ipaz at ufg dot es
New email:
PHP Version: OS:

 

 [2006-06-02 11:38 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-02 11:43 UTC] tony2001@php.net
/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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 04:01:31 2025 UTC