Thanks Alan. I'd appreciate it if people could try this out and report any problems _or_ successes.
Tim. On Mon, Nov 07, 2005 at 04:29:07PM +0000, Alan Burlison wrote: > Here's a prototype Makefile.PL for building DBD::Oracle against the > Oracle Instant Client libraries. This has only been tested on Solaris > with Oracle 10.1 and makes no claim to be portable, robust or even > sensible ;-) It also uses the Solaris support for relative library > paths using the $ORIGIN token - I believe Linux supports this too, but I > haven't tested it. Corrections and patches welcome. > > Once you have installed DBD::Oracle with this Makefile.PL you can remove > the Oracle Instant Client from your machine without affecting > DBD::Oracle, as all the required Oracle shared libraries are copied into > the perl install tree. > > The only argument to the script is the path to the unpacked Instant > Client directory. In my case this consists of the following files: > > ./classes12.jar > ./glogin.sql > ./libclntsh.so.10.1 > ./libnnz10.so > ./libocci.so.10.1 > ./libociei.so > ./libocijdbc10.so > ./libsqlplus.so > ./ojdbc14.jar > ./README_IC.htm > ./sdk/include/occi.h > ./sdk/include/occiCommon.h > ./sdk/include/occiControl.h > ./sdk/include/occiData.h > ./sdk/include/occiObjects.h > ./sdk/include/occiAQ.h > ./sdk/include/oci.h > ./sdk/include/oci1.h > ./sdk/include/oci8dp.h > ./sdk/include/ociap.h > ./sdk/include/ociapr.h > ./sdk/include/ocidef.h > ./sdk/include/ocidem.h > ./sdk/include/ocidfn.h > ./sdk/include/ociextp.h > ./sdk/include/ocikpr.h > ./sdk/include/ocixmldb.h > ./sdk/include/odci.h > ./sdk/include/oratypes.h > ./sdk/include/ori.h > ./sdk/include/orid.h > ./sdk/include/orl.h > ./sdk/include/oro.h > ./sdk/include/ort.h > ./sdk/include/xa.h > ./sdk/include/nzt.h > ./sdk/include/nzerror.h > ./sdk/demo/demo.mk > ./sdk/demo/cdemo81.c > ./sdk/demo/occidemo.sql > ./sdk/demo/occidemod.sql > ./sdk/demo/occidml.cpp > ./sdk/demo/sysliblist > ./sqlplus > > -- > Alan Burlison > --
