Re: Query on Perl DBI installation on Linux

[email protected]
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
did you set the LD_LIBRARY_PATH to point to where the oracle libraries
reside?  Is libclntsh.so.11.1 readable by the user you are running the
script with?   The error is from missing LD_LIBRARY_PATH or the library is
not readable by the user.

>
> Hi I installed the perl and DBI, DBD::Oracle module.
> I am getting the below error while I try to execute the DB connection perl
> coding.
>  Please let me know what is the problem and the solution for this.
> Perl  version : 5.8.8
> Linux wapduvirtual062 2.6.18-308.4.1.el5 #1 SMP Wed Mar 28 01:54:56 EDT
> 2012 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> install_driver(Oracle) failed: Can't load
> '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so'
> for module DBD::Oracle: libclntsh.so.11.1: cannot open shared object file:
> No such file or directory at
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
>  at (eval 3) line 3
> Compilation failed in require at (eval 3) line 3.
> Perhaps a required shared library or dll isn't installed where expected
>  at test.pl line 2
>
>
> Regards
> JS.Srinivasan
> LLyods account-CDC5
> 9841641836
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you should not disseminate, distribute or
> copy this e-mail. Please notify the sender immediately and destroy all
> copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.