Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Install Module DBD crashes with "Cant find library"

by tphyahoo (Vicar)
on Nov 24, 2006 at 12:29 UTC ( #585855=note: print w/ replies, xml ) Need Help??


in reply to Install Module DBD crashes with "Cant find library"

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.


Comment on Re: Install Module DBD crashes with "Cant find library"
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2014-07-31 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (241 votes), past polls