Solved

Perl & Oracle: DynaLoader.pm

Posted on 2000-05-08
2
851 Views
Last Modified: 2008-03-17
I am working with Perl CGI, and I need to acceed to an Oracle database.
Actually, my scripts work when I execute them from a shell, but not via my WEB server:

>install_driver(Oracle) failed: Can't load >'/usr/local/depot/perl5.005_03/lib/site_perl/5.005>/sun4-solaris/auto/DBD/Oracle/Oracle.so' for >module DBD::Oracle: ld.so.1: /usr/local/bin/perl: >fatal: libclntsh.so.8.0: open failed: No such file or >directory at >/usr/local/depot/perl5.005_03/lib/5.00503/sun4->solaris/DynaLoader.pm line 169.

In my script, I have initialized the environment variables for Oracle. I don't understand why my server doesn't find these oracle libraries: they are there.

Did anybody have the same problem?

Thanks a lot for your answers, I really need some help.


0
Comment
Question by:vgadbin
2 Comments
 
LVL 12

Expert Comment

by:geotiger
ID: 2807455
How did you initializing env. var. for Oralce? Executing the script from a shell is different from browser because your web server may not have all the access that you have in the shell.
0
 

Accepted Solution

by:
webdba earned 75 total points
ID: 3781838
I had this problem just recently while installing DBD::Oracle.  The problem was a failed library from Sun's Freeware Perl.  Try building perl over again and reinstalling DBI and then DBD for oracle and this should correct THIS problem.  You should be able to find the perl binary you need from www.perl.com
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now