PHP support for --with-oci8-instant-client

Nigel Wohlers freebsd at eyede.com
Tue Apr 5 19:39:27 PDT 2005


Hi All,

Has anyone attempted to get Oracle Instant Client
(http://www.oracle.com/technology/pub/notes/technote_php_instant.html)
working with PHP(4.3.11 or 5.0.4).

Basically you download the rpm's or zip's supplied by oracle and add the
--with-oci8-instant-client=/usr/lib/oracle/10.1.0.3/client to PHP configure flags.

Of course this dies a horrible death because the libraries are in linux format:

/usr/bin/ld: warning: libdl.so.2, needed by /usr/lib/oracle/10.1.0.3/client/libclntsh.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libm.so.6, needed by /usr/lib/oracle/10.1.0.3/client/libclntsh.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpthread.so.0, needed by /usr/lib/oracle/10.1.0.3/client/libclntsh.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnsl.so.1, needed by /usr/lib/oracle/10.1.0.3/client/libclntsh.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libc.so.6, needed by /usr/lib/oracle/10.1.0.3/client/libclntsh.so, not found (try using -rpath or -rpath-link)


Any suggestions?

Regards,
Nigel.


More information about the freebsd-questions mailing list