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.
cpan> get DBD::Oracle
…
[/perl]
We replaced the distribution makefile with: https://svn.perl.org/modules/dbd-oracle/trunk/Makefile.PL (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>
# export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME
# perl Makefile.PL
…
# make
…
# make test
…
# make install
…
[/bash]
It works!
Share this
You May Also Like
These Related Stories
DBD::Oracle and Windows 64bit
DBD::Oracle and Windows 64bit
Apr 20, 2010
3
min read
Managing Oracle on Windows: Where’s my Oratab?
Managing Oracle on Windows: Where’s my Oratab?
Jun 14, 2013
1
min read
How to Set up Automatic Startup and Shutdown of an Oracle Database on Linux without Using Oracle-Restart
How to Set up Automatic Startup and Shutdown of an Oracle Database on Linux without Using Oracle-Restart
Feb 5, 2020
2
min read
No Comments Yet
Let us know what you think