DBD::Oracle and Instant Client

Posted in: Technical Track

I have just managed to get DBD::Oracle to successfully compile, install, and test with the Instant Client (IC) on a Linux (32bit) OS. It seems Oracle, in its wisdom, has changed the folder structure yet again, so to get it to compile, try this.

The table structure of the IC out of the RPMs is:

/usr/lib/oracle/ (Instant Client Package Basic)
/usr/share/oracle/ (SQL*Plus)
/usr/include/oracle/ (Instant Client – SDK)

So, doing the following . . .

export ORACLE_HOME=/usr/lib/oracle/

perl Makefile.PL -m /usr/share/oracle/ -h /usr/include/oracle/

. . . will work.

I have also updated the Makefile.PL, which can be found here: https://svn.perl.org/modules/dbd-oracle/trunk/Makefile.PL.

Cheers, John Scoles.

Want to talk with an expert? Schedule a call with our team to get the conversation started.

1 Comment. Leave new

This a great program.


Leave a Reply

Your email address will not be published. Required fields are marked *