On Fri, May 17, 2002 at 09:39:06AM +0530, Nilanjan wrote: > Hi Gurus, > > I have installed DBI and DBD(for Oracle) on HP-UX and am trying to use > the same. But I get the following error when trying to execute any > script useing DBI: > > >******************************************************************************************* > > install_driver(Oracle) failed: Can't load > '/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0/auto/DBD/Oracle/Oracle.sl' > for > module DBD::Oracle: No such file or directory at > /opt/perl5/lib/5.6.1/PA-RISC2.0/DynaLoader.pm line 206. > at (eval 6)[/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0/DBI.pm:565] line > 3 > Compilation failed in require at (eval > 6)[/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0/DBI.pm:565] line 3. > Perhaps a required shared library or dll isn't installed where expected > >******************************************************************************************** > > The file Oracle.sh is there in path > "/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0/auto/DBD/Oracle". > > Can any of you point me the reason for this error? Any help on this will > be of great help. >
My Perl (5.6.1) seemed to work fine until I tried installing DBD::Oracle. I had to rebuild perl, following the recommendations of README.hpux in the DBD::Oracle distro. HTH, Jonathan