What platform? What PHP version?
Are you doing something like using 32 bit instantclient on a 64 bit machine?
Chris
Angel Motta wrote:
Hi List
Is my first time that I write to this list.
I am having problems to compile php with oci support.
I run this:
./configure --prefix=/usr/local/php --with-xmlrpc
--with-apxs2=/usr/local/apache2/bin/apxs
--with-config-file-path=/usr/local/php/etc --with-gd=/usr/
--with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr
--with-xpm-dir=/usr --with-zlib=/usr
--with-oci8=instantclient,/opt/instantclient
--with-pdo-oci=instantclient,/opt/instantclient,11.1
--with-openssl-dir=/usr --with-iconv=/usr/local --with-curl=/usr
--with-curlwrappers --with-libxml-dir=/usr --with-gettext=/usr
--enable-sigchild --enable-libxml --enable-soap
And I receive alert at finish of ./configure and I see the debug.log
with this at the end:
conftest.c: In function 'main':
conftest.c:3: warning: incompatible implicit declaration of built-in
function 'exit'
/opt/instantclient/libclntsh.so: file not recognized: File format not
recognized
collect2: ld returned 1 exit status
Thanks for your assistance
--
Angel
--
Email: christopher.jones@xxxxxxxxxx Tel: +1 650 506 8630
Blog: http://blogs.oracle.com/opal/ Free PHP Book: http://tinyurl.com/UGPOM
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]