Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Compiling and installing DBD::Oracle on Linux

by nguye103 (Acolyte)
on Sep 28, 2004 at 17:42 UTC ( #394694=perlquestion: print w/replies, xml ) Need Help??

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

Hi,
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/Oracle.pm 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 Oracle.pm 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).

    L

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://394694]
Approved by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2020-11-26 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?