1831348 Members
3048 Online
110024 Solutions
New Discussion

Web-Page Error

 
Madhavendra
Occasional Advisor

Web-Page Error

When i am trying to open the Web-page where perl script runs and backend it will be using DBI/DBD module..
When i run the same script manually on the server its runs fine. Only in Web page it throws an error..
install_driver(Oracle) failed: Can't load '/opt/perl_64/lib/site_perl/5.8.8/PA-RISC2.0-thread-multi-LP64/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: No such file or directory at /opt/perl_64/lib/5.8.8/PA-RISC2.0-thread-multi-LP64/DynaLoader.pm line 230. at (eval 9) line 3 Compilation failed in require at (eval 9) line 3. Perhaps a required shared library or dll isn't installed where expected at EGN.pm line 36

DBI/DBD module has been compiled properly and even i have checked the env PATH as well seems to be fine..
Appreciate any help on this issue..
3 REPLIES 3
Jupinder Bedi
Respected Contributor

Re: Web-Page Error

It means some of your modules are missing . you can install it by using CPAM .Try as follows

#/usr/local/bin/perl â MCPAN â e â install DBD::Oracle"

it will install all your module DBD::oracle and all other dependencies. Also note there is no harm to use this command.
All things excellent are as difficult as they are rare
Jupinder Bedi
Respected Contributor

Re: Web-Page Error

command was not showing properly in my previous answer . here is the command

#/usr/local/bin/perl/ -MCPAN -e "install DBD::Oracle"
All things excellent are as difficult as they are rare
Madhavendra
Occasional Advisor

Re: Web-Page Error

No Jupinder the command which you gave did not worked out..Can you please tell me which component has been installed..