- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with perl module, running the script under...
Operating System - HP-UX
1824933
Members
3792
Online
109678
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 06:18 AM
07-27-2005 06:18 AM
Problem with perl module, running the script under apache
Hi to all.
I have the following problem.
I use a small perl script to connect to an Oracle database, to retrieve some data and present it on a web interface (cgi script). The script uses DBI and the Oracle DBD driver. When I execute from command line, everything works fine, put when executed from Apache (web browser request), I get the following error :
install_driver(Oracle) failed: Can't load '/opt/perl64/lib/site_perl/5.8.3/PA-RISC2.0-LP64/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: No such file or directory at /opt/perl64/lib/5.8.3/PA-RISC2.0-LP64/DynaLoader.pm line 229.
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /opt/OV/httpd/cgi-bin/post/reports/post.cgi line 371
I have included the paths to
LD_LIBRARY_PATH
LD_RUN_PATH
PERL5LIB
and @INC contains all the necessary paths.
The UNIX box has
HP-UX 11.11
Apache 1.3.27
Oracle 9.2.0.4 64bit
Perl 5.8.3 64bit
DBI 1.40
DBD:Oracle 1.16
I would appreciate any help.
Thanks in advance,
Alex
I have the following problem.
I use a small perl script to connect to an Oracle database, to retrieve some data and present it on a web interface (cgi script). The script uses DBI and the Oracle DBD driver. When I execute from command line, everything works fine, put when executed from Apache (web browser request), I get the following error :
install_driver(Oracle) failed: Can't load '/opt/perl64/lib/site_perl/5.8.3/PA-RISC2.0-LP64/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: No such file or directory at /opt/perl64/lib/5.8.3/PA-RISC2.0-LP64/DynaLoader.pm line 229.
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /opt/OV/httpd/cgi-bin/post/reports/post.cgi line 371
I have included the paths to
LD_LIBRARY_PATH
LD_RUN_PATH
PERL5LIB
and @INC contains all the necessary paths.
The UNIX box has
HP-UX 11.11
Apache 1.3.27
Oracle 9.2.0.4 64bit
Perl 5.8.3 64bit
DBI 1.40
DBD:Oracle 1.16
I would appreciate any help.
Thanks in advance,
Alex
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 08:24 AM
08-03-2005 08:24 AM
Re: Problem with perl module, running the script under apache
Finally, after some days, I found out the problem.
I had to add the following on the httpd.conf file of apache.
SetEnv LD_LIBRARY_PATH /usr/local/lib:$ORACLE_HOME/lib
SetEnv LD_RUN_PATH /usr/local/lib:$ORACLE_HOME/lib
I would like to thank my unix guru, gdp for his help.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP