RE: Can't locate DBD/Oracle.pm after DBD Oracle 1.19 installation




-----Original Message-----
From: Susantio, Herman [mailto:Herman_Susantio@xxxxxxxxxxxxxxxxxx]
Sent: Tuesday, December 25, 2007 9:03 PM
To: 'dbi-users@xxxxxxxx'
Subject: Can't locate DBD/Oracle.pm after DBD Oracle 1.19 installation

we just installed DBD Oracle 1.19 on Linux suse.
oracle 10.1.0.3 full version has been installed on the same box prior
installing DBD and the db instance is accessible.
after the DBD Oracle installation, when we run the perl script, we hit
the
following error :
xxxx>./test.pl
install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC
contains: /u01/app/testl /usr/lib/perl5/5.8.3/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at (eval
5)
line 3.

we actually could find Oracle.pm under
/usr/lib/perl5/site_perl/5.8.3/x86_64-linux-thread-multi/DBD
could someone able to advise on this ?

It *could* be a permissions issue; I say *could* because we did not get
the same error you are getting when installing on HP/UX.
Our error:
install_driver(Oracle) failed: Can't load
'/opt/perl_32/lib/site_perl/5.8.8/PA-R
ISC1.1-thread-multi/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle:
No such f
ile or directory at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm
line 230.
at (eval 4) line 3
Compilation failed in require at (eval 4) line 3.
Perhaps a required shared library or dll isn't installed where expected
at ./OraConn3.pl line 68

Regardless, last April, the DBD-Oracle install tests ran fine but user
scripts didn't. When we ran those same scripts as root they worked.
In our case, the issue was tracked to permissions on the Oracle client
directories and the tnsnames.ora file.
You might want to check the perms where the Oracle.pm file resides too.
Hope this helps,
Paula
.



Relevant Pages

  • Re: DTrace/FreeBSD source snapshot
    ... I'm guessing dtrace doesn't know what a uid_t is. ... of installation problem on my part? ... is actually referenced in our kernel. ... profiling scripts that I use on Solaris and MacOSX. ...
    (freebsd-current)
  • RE: perl module installation
    ... run perl scripts from the browser on this box. ... I have download from CPAN ... module installation, are your errors when you try to use them or install ...
    (perl.beginners)
  • Re: How can this site get back to rowing topics
    ... IE7Pro which is similar to GreaseMonkey but for IE. Installation is ... available while IE restarts. ... Scripts from the list on the left, then click on the "Reload All ...
    (rec.sport.rowing)
  • Re: sun calendar & dsee6 on CentOS machine-- need to return to preinstall configuration
    ... previous configuration attempts made by the scripts on my ... that I can remove the previous installation attempts from this machine ... I'm pretty sure that won't even work anyway as the scripts surely ... eventually broke the rpm database on my target machine. ...
    (comp.sys.sun.apps)
  • Re: SP4 error running replsys.sql
    ... During the installation of SQL SP4 I also received the error: ... The application must have been trying to connect to the SQL database ... while the scripts were attempting to run. ...
    (microsoft.public.sqlserver.setup)