note 53712 modified in ref.oci8 by sixd
| From: | sixd@php.net | Date: | Thu, 10 Apr 2008 22:14:41 +0000 |
| Subject: | note 53712 modified in ref.oci8 by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138148@lists.php.net to get a copy of this message | ||
php5 + Apache 2 + solaris 2.10 + oracle9i (64bits)
'./configure' '--with-oracle=/prod/dba/oraeve/ora9i'
'--with-apxs2=/usr/local/apache2/bin/apxs' '--with-zlib' '--with-gd'
'--without-mysql' '--with-oci8=/prod/dba/oraeve/ora9i'
fail with :
ld: fatal : fichier libclntsh.so : wrong elf class : ELFCLASS64
the solution is between ./configure and make command to edit Makefile and replace /ora9i/lib with
/ora9i/lib32
all it's ok
--was--
php5 + Apache 2 + solaris 2.10 + oracle9i (64bits)
'./configure' '--with-oracle=/prod/dba/oraeve/ora9i'
'--with-apxs2=/usr/local/apache2/bin/apxs' '--with-zlib' '--with-gd'
'--without-mysql' '--with-oci8=/prod/dba/oraeve/ora9i'
fail with :
ld: fatal : fichier libclntsh.so : wrong elf class : ELFCLASS64
the solution is between ./configure and make command to edit Makefile and replace /ora9i/lib with
/ora9i/lib32
all it's ok
http://php.net/manual/en/ref.oci8.php