Re: (Fwd) Issue :DBD::Oracle installation

"Martin J. Evans" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
On 06/06/14 12:17, Ranjitha wrote:
> Hi Martin
>
> Screen shot from yast :

showing sqlplus is installed.

> I have sqlplus installed in my server, then why the error?
>
> Same way I have installed sqlplus in other servers also, no issue there.
>
> Thanks and regards,

You've misunderstood me. I wasn't saying you have not installed sqlplus. I was saying you need to make sure you can run sqlplus before attempting to build DBD::Oracle. So sqlplus should be on your PATH or findable under LD_LIBRARY_PATH which you should set and export.

It is pointless trying to build DBD::Oracle if you cannot successfully run sqlplus - at best it will default to oracle 8.

Martin

> -----Original Message-----
> From: Martin J. Evans [mailto:[email protected]]
> Sent: Friday, June 06, 2014 1:44 PM
> To: Ranjitha; [email protected]
> Subject: Re: (Fwd) Issue :DBD::Oracle installation
>
> On 04/06/14 12:44, [email protected] <mailto:[email protected]> wrote:
>
>  > ----- Forwarded message from Ranjitha <[email protected] <mailto:[email protected]>> -----
>
>  >
>
>  > Date: Wed, 4 Jun 2014 11:05:34 +0000
>
>  > From: Ranjitha <[email protected] <mailto:[email protected]>>
>
>  > To: "[email protected] <mailto:[email protected]>" <[email protected] <mailto:[email protected]>>, "[email protected] <mailto:[email protected]>" <[email protected] <mailto:[email protected]>>
>
>  > Subject: Issue :DBD::Oracle installation
>
>  >
>
>  >     Hi Tim
>
>  >
>
>  >     Facing an issue while installing DBD::Oracle  module from CPAN.
>
>  >
>
>  >     Direct installation on server cpan DBD::Oracle is failing.
>
>  >
>
>  >     I manually tried installing the module which CPAN has downloaded, below is the log.
>
>  >
>
>  >     ciw-app1:~/.cpan/build/DBD-Oracle-1.74-vjnZmt # perl Makefile.PL
>
>  >
>
>  >     Multiple copies of Driver.xst found in:
>
>  >     /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/auto/DBI/
>
>  >     /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/DBI/ at Makefile.PL line 39
>
>  >
>
>  >     Using DBI 1.631 (for perl 5.010000 on x86_64-linux-thread-multi) installed in
>
>  >     /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/auto/DBI/
>
>  >
>
>  >
>
>  >
>
>  >     Configuring DBD::Oracle for perl 5.010000 on linux (x86_64-linux-thread-multi)
>
>  >
>
>  >
>
>  >
>
>  >     Remember to actually *READ* the README file! Especially if you have any problems.
>
>  >
>
>  >
>
>  >
>
>  >     Installing on a linux, Ver#2.6
>
>  >
>
>  >     Using Oracle in /usr/lib/oracle/11.2/client64
>
>  >
>
>  >     sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such
>
>  >     file or directory
>
> This is your problem. You need to get sqlplus working in your environment before attempting to build DBD::Oracle.
>
> Martin
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.