I'm trying to setup php with oci8 support. I think I've configured all correctly before starting with oci, here is how I tried to start the install :
./configure -prefix=/common_share/APACHE/server --with-apxs2=/common_share/APACHE/server/bin/apxs ./configure --with-oci8=instantclient,/common_share/APACHE/oracle-cli --with-libxml-dir=/common_share/APACHE/libxml --with-config-file-path=/common_share/APACHE/php/php.ini
I don't have root access so I have to install all manually. Anyways the error I get after I start make install
is :
/usr/bin/ld: skipping incompatible /common_share/APACHE/oracle-cli/libclntsh.so when searching for -lclntsh
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
And I just have no idea what went wrong there nor what to do next. Anyone had similar issue and resolved it?