nguye103 has asked for the wisdom of the Perl Monks concerning the following question:

I am running some perl scripts on Linux that were previously used on Windows to see if they are working properly on Linux. I have been informed that all the modules/libraries for perl have not been installed yet. By running the scripts, i can see what I need to install to get the script working properly. I keep getting this error whenever I run a script:

install_driver(Oracle) failed: Can't locate DBD/ in @INC

Perhaps the DBD::Oracle perl module hasn't been fully installed, or perhaps the capitalisation of 'Oracle' isn't right. Available drivers: ExampleP, Proxy, Sponge, mysql.

From what I understand, Oracle is suppose to be a driver located with the other "available drivers". I tried to install DBD-Oracel from CSPAN, but when i go to install it on linux, it says The ORACLE_HOME environment variable must be set. This leads me to believe that I need to install Oracle on linux in order to download the Oracle driver properly, but the problem is that I can't have Oracle on Linux (says my boss).

So what I want to know is how do I get and if there is a way for me to get it on linux (Suse) w/o having to download Oracle. Any help would be much appreciated. Thank you.

Janitored by Arunbear - retitled from 'DBD-Oracle'

Replies are listed 'Best First'.
Re: Compiling and installing DBD::Oracle on Linux
by lhoward (Vicar) on Sep 28, 2004 at 17:48 UTC
    Compiling and installing DBD::Oracle on Linux requires that the Oracle OCI needs to be installed. Basically its the oracle C libraries and header files. These are located on the oracle install media, but are only visible under the advanced install options.

    So yes, some oracle stuff needs to be installed before you can use DBD::Oracle, but there will not be an oracle server running on your linux box and it will not require an oracle license (unless youre under oracle client licensing).


Re: Compiling and installing DBD::Oracle on Linux
by Anonymous Monk on Sep 28, 2004 at 22:15 UTC