the oracle install is a real PITA.
Install oracle install client for, I think in your situation, 64 bit perl, and for your platform. Downloadable for free from oracle.com, after nagging you to create an account with user/pw.
Before doing anything with the perl install, verify that you can connect to an oracle db with instantclient.
I did something like this
$ cat oracle-env.sh
export INSTANT_CLIENT_PATH=/home/oracleInstalls/10.2/instantclient_10_
+2
export LD_LIBRARY_PATH=$INSTANT_CLIENT_PATH
export PATH=$INSTANT_CLIENT_PATH:$PATH
export TNS_ADMIN=/opt/oracle
export ORACLE_HOME=$INSTANT_CLIENT_PATH
export ORACLE_USERID='user/password'
#export ORACLE_DSN='mydb2.myhost' # this dien't work
export ORACLE_DSN='dbi:Oracle:host=myhost;sid=mydb2' # necessary to ge
+t make test to work in dbd::oracle
#needed for sqlplus
export TWO_TASK=mydb2.myhost
export ORACLE_SID=mydb2
alias go-dbd-oracle='cd /usr/cpanroot64/.cpan/build/DBD-Oracle-1.18'
#$dbh = DBI->connect("dbi:Oracle:host=myhost.com;sid=ORCL", $user, $pa
+sswd);
alias the-sqlplus='sqlplus user/password@mydb2.myhost'
After I verified that I could commit to sqlplus, I cd-ed into the build dir for DBD::Oracle and force-installed.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.