error instant client PHP configure script
| From: | Angel Motta | Date: | Mon, 08 Mar 2010 20:09:37 +0000 |
| Subject: | error instant client PHP configure script | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-19880@lists.php.net to get a copy of this message | ||
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