DBD::Oracle and Instant Client

Apr 22, 2008 / By John Scoles

Tags: ,

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: http://svn.perl.org/modules/dbd-oracle/trunk/Makefile.PL.

Cheers, John Scoles.

Share this article

One Response to “DBD::Oracle and Instant Client”

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>