I am trying to get DBD-Oracle-1.3.4 up and running on RHEL 5. I did see similar posts regarding this however it appears they were for windows.
I have DBI 1.52 installed along with Oracle instant Client and I am able to connect via a PHP script and also via sqlplus so I know client is installed ok. I have set the environmental variables in my .profile as follows:
Here are the steps I took:
I extracted DBD-Oracle-1.3.4
I ran perl Makefile.PL INSTALLBASE=/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
After the install is done I run this command to validate version:
perl -e 'use DBD::Oracle; print $DBD::Oracle::VERSION,"\n";'
which returns this:
Can't locate loadable object for module DBD::Oracle in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at -e line 1
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Any idea on this? I really appreciate the help as i have been trying for quite some time to get this resolved. Thanks!