![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Connecting to DB2 database on Mainframe and Querying DB | developncode | UNIX for Advanced & Expert Users | 2 | 05-05-2008 08:01 PM |
| Connecting and Querying DB2 database from Unix Script? | developncode | Shell Programming and Scripting | 2 | 05-02-2008 09:47 AM |
| Connecting to Oracle Database | dreams5617 | Shell Programming and Scripting | 4 | 05-02-2008 09:37 AM |
| connecting to a database through a script...if not give an error msg | sommer_queen | UNIX for Dummies Questions & Answers | 3 | 08-22-2007 10:09 AM |
| Connecting to a database via UNIX | penfold | UNIX for Advanced & Expert Users | 1 | 03-05-2005 11:37 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
While i am trying to connect to Oracle database from Perl using DBI module,am getting the error as follows : Can't load '/usr/local/fuseperl-modules/lib/i586-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libwtc9.so: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.0/i586-linux-thread-multi/DynaLoader.pm line 229. I am confident in the case that the driver DBD::Oracle was installed. Can anyone suggest,what is happening and why? With Regards Dileep Pattayath |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Try This
#echo $ORACLE_HOME/lib >> /etc/ld.so.conf # ldconfig |
|
#3
|
|||
|
|||
|
Quote:
But i don't have write access to this directory /etc.Can you suggest anything to be done from the user end. Anyway what the above code will represent? With Regards Dileep Pattayath |
|
#4
|
|||
|
|||
|
Dileep,
It seems to me some problem with Perl module that properly not installed or might be the lib path (xxxx.so) files in different location. So why I asked for #echo $ORACLE_HOME/lib >> /etc/ld.so.conf Here it will put all the .so files with in /etc/ld.so.conf files. # ldconfig After executing the above command it will get affect mean to say it will read all these .so files location. One suggestion you can verify whether that files (.pm) is existing or not "/usr/lib/perl5/5.8.0/i586-linux-thread-multi/DynaLoader.pm " ## find / -name DynaLoader.pm Then compare the location .. If it is not there that mean Your driver DBD perl module didn't compile properly. ~~~Sanjay~~~ |
|
#5
|
|||
|
|||
|
ok,fine.Thank you.
The problem was solved now.I set the environment variable LD_LIBRARY_PATH="$ORACLE_HOME/lib".I think this was the same idea you gaven.Now it's working fine. Thanks for your time and effort With Regards Dileep Pattayath |
|||
| Google The UNIX and Linux Forums |