Skip to content

Insight and analysis of technology and business strategy

Install DBD::Oracle on 64-bit Linux and Oracle 11g

Karun Dutt and I managed to get DBD::Oracle 1.21 to install on a 64-bit Linux OS against the Oracle 11 full client. Here’s what we did.

As root, we downloaded DBD::Oracle from CPAN.

[perl light=”true”] # perl -MCPAN -eshell
cpan> get DBD::Oracle


We replaced the distribution makefile with: (this is the latest Makefile.PL).

[bash light=”true”] # cd /root/.cpan/build/DBD-Oracle-1.21
# export ORACLE_HOME=<actual value of Oracle Home>
# export ORACLE_SID=<actual value of ORACLE_SID>
# export ORACLE_USERID=<a working ORACLE_USERID>
# perl Makefile.PL

# make

# make test

# make install


It works!

Top Categories

  • There are no suggestions because the search field is empty.

Tell us how we can help!