Re: [PHP-INSTALL] error instant client PHP configure script

[email protected] (Christopher Jones)
Newsgroups php.install
Message-ID <[email protected]>
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: [email protected]    Tel:  +1 650 506 8630
Blog:  http://blogs.oracle.com/opal/   Free PHP Book: http://tinyurl.com/UGPOM
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.