<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem with perl module, running the script under apache in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-perl-module-running-the-script-under-apache/m-p/3591243#M828665</link>
    <description>Hi to all.&lt;BR /&gt;&lt;BR /&gt;I have the following problem.&lt;BR /&gt;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 :&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt; at (eval 5) line 3&lt;BR /&gt;Compilation failed in require at (eval 5) line 3.&lt;BR /&gt;Perhaps a required shared library or dll isn't installed where expected&lt;BR /&gt; at /opt/OV/httpd/cgi-bin/post/reports/post.cgi line 371&lt;BR /&gt;&lt;BR /&gt;I have included the paths to &lt;BR /&gt;LD_LIBRARY_PATH&lt;BR /&gt;LD_RUN_PATH&lt;BR /&gt;PERL5LIB&lt;BR /&gt;and @INC contains all the necessary paths.&lt;BR /&gt;&lt;BR /&gt;The UNIX box has&lt;BR /&gt;HP-UX 11.11&lt;BR /&gt;Apache 1.3.27&lt;BR /&gt;Oracle 9.2.0.4 64bit&lt;BR /&gt;Perl 5.8.3 64bit&lt;BR /&gt;DBI 1.40&lt;BR /&gt;DBD:Oracle 1.16&lt;BR /&gt;&lt;BR /&gt;I would appreciate any help.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Alex</description>
    <pubDate>Wed, 27 Jul 2005 13:18:25 GMT</pubDate>
    <dc:creator>Katsioulis Alexandros</dc:creator>
    <dc:date>2005-07-27T13:18:25Z</dc:date>
    <item>
      <title>Problem with perl module, running the script under apache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-perl-module-running-the-script-under-apache/m-p/3591243#M828665</link>
      <description>Hi to all.&lt;BR /&gt;&lt;BR /&gt;I have the following problem.&lt;BR /&gt;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 :&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt; at (eval 5) line 3&lt;BR /&gt;Compilation failed in require at (eval 5) line 3.&lt;BR /&gt;Perhaps a required shared library or dll isn't installed where expected&lt;BR /&gt; at /opt/OV/httpd/cgi-bin/post/reports/post.cgi line 371&lt;BR /&gt;&lt;BR /&gt;I have included the paths to &lt;BR /&gt;LD_LIBRARY_PATH&lt;BR /&gt;LD_RUN_PATH&lt;BR /&gt;PERL5LIB&lt;BR /&gt;and @INC contains all the necessary paths.&lt;BR /&gt;&lt;BR /&gt;The UNIX box has&lt;BR /&gt;HP-UX 11.11&lt;BR /&gt;Apache 1.3.27&lt;BR /&gt;Oracle 9.2.0.4 64bit&lt;BR /&gt;Perl 5.8.3 64bit&lt;BR /&gt;DBI 1.40&lt;BR /&gt;DBD:Oracle 1.16&lt;BR /&gt;&lt;BR /&gt;I would appreciate any help.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Alex</description>
      <pubDate>Wed, 27 Jul 2005 13:18:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-perl-module-running-the-script-under-apache/m-p/3591243#M828665</guid>
      <dc:creator>Katsioulis Alexandros</dc:creator>
      <dc:date>2005-07-27T13:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with perl module, running the script under apache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-perl-module-running-the-script-under-apache/m-p/3591244#M828666</link>
      <description>&lt;BR /&gt;Finally, after some days, I found out the problem.&lt;BR /&gt;&lt;BR /&gt;I had to add the following on the httpd.conf file of apache.&lt;BR /&gt;&lt;BR /&gt;SetEnv LD_LIBRARY_PATH /usr/local/lib:$ORACLE_HOME/lib&lt;BR /&gt;&lt;BR /&gt;SetEnv LD_RUN_PATH /usr/local/lib:$ORACLE_HOME/lib&lt;BR /&gt;&lt;BR /&gt;I would like to thank my unix guru, gdp for his help.</description>
      <pubDate>Wed, 03 Aug 2005 15:24:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-perl-module-running-the-script-under-apache/m-p/3591244#M828666</guid>
      <dc:creator>Katsioulis Alexandros</dc:creator>
      <dc:date>2005-08-03T15:24:14Z</dc:date>
    </item>
  </channel>
</rss>

