php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14802 --with-oci8 doesnt grok 64-bit Oracle 9i
Submitted: 2002-01-02 10:46 UTC Modified: 2002-07-31 01:35 UTC
Votes:2
Avg. Score:3.0 ± 2.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (100.0%)
From: peter at gol dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.1.1 OS: Solaris 8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: peter at gol dot com
New email:
PHP Version: OS:

 

 [2002-01-02 10:46 UTC] peter at gol dot com
> less debug.log
CONFIGURE:   './configure' '--with-fastcgi' '--without-mysql' '--with-oci8=/home/oracle/OraHome1' '-
-enable-mbstr-enc-trans'
CC:         cc
CFLAGS:     -g
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES:      -I/usr/local/include -I$(top_builddir)/Zend -I/home/oracle/OraHome1/rdbms/public -I/h
ome/oracle/OraHome1/rdbms/demo -I/home/oracle/OraHome1/plsql/public
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib -R/home/oracle/OraHome1/lib -L/home/oracle/OraHome1/lib
LIBS:       -ldl -lgen -lsocket -lnsl -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket  -l
socket -lcrypt -lclntsh
DLIBS:
SAPI:       fastcgi
PHP_RPATHS:  /usr/ucblib /home/oracle/OraHome1/lib
uname -a:   SunOS double-eric 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-2

cc -o conftest -g  -D_POSIX_PTHREAD_SEMANTICS  -R/usr/ucblib -L/usr/ucblib -R/home/oracle/OraHome1/l
ib -L/home/oracle/OraHome1/lib conftest.c -ldl -lgen -lsocket -lnsl -lcrypt -lresolv -lresolv -lreso
lv -lm -ldl -lnsl -lsocket  -lsocket -lcrypt -lclntsh 1>&5
ld: fatal: file /home/oracle/OraHome1/lib/libclntsh.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to conftest

-----------------------
the 32bit libraries are in  $ORACLE_HOME/lib32
however, looking at the configure file, I am unable to
figure out what in the oci8 detection system needs to be
changed as all the paths are coded as "???/lib"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-16 12:51 UTC] richard dot bragg at ntl dot com
You can edit the configure file

find the OCI8_DIR lines and change lib to lib32
there is also OCI8_DIR/rdbms/lib to edit also.

If you are using some modules that run autoconf then goto 
<phpdir>/ext/oci8 and edit config.m4 and again edit the OCI8_DIR lines as above.
 [2002-07-16 14:57 UTC] sniper@php.net
Please try this snapshot:

http://snaps.php.net/php4-latest.tar.gz

 [2002-07-31 01:35 UTC] peter at gol dot com
4.2.2 now.

replacing all OCI8_DIR/lib  --> OCI8_DIR/lib32
will build a working version.

I tried the snapshot, no changes there.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 16 10:05:45 2022 UTC