Re: Bug #14802: --with-oci8 doesnt grok 64-bit Oracle 9i
| From: | Thies C. Arntzen | Date: | Thu, 03 Jan 2002 14:12:55 +0000 |
| Subject: | Re: Bug #14802: --with-oci8 doesnt grok 64-bit Oracle 9i | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75772@lists.php.net to get a copy of this message | ||
plz replace all OCI8_DIR/lib against OCI8_DIR/lib32 in configure
and try again.
don't forget to report back!
tc
On Wed, Jan 02, 2002 at 03:46:58PM -0000, peter@gol.com wrote:
> From: peter@gol.com
> Operating system: Solaris 8
> PHP version: 4.1.1
> PHP Bug Type: Compile Failure
> Bug description: --with-oci8 doesnt grok 64-bit Oracle 9i
>
> > 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"
>
>
> --
> Edit bug report at: http://bugs.php.net/?id=14802&edit=1
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>