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:martin.ev...@easysoft.com]
Sent: Friday, June 06, 2014 1:44 PM
To: Ranjitha; dbi-users@perl.org
Subject: Re: (Fwd) Issue :DBD::Oracle installation

On 04/06/14 12:44, tim.bu...@pobox.com <mailto:tim.bu...@pobox.com> wrote:

 > ----- Forwarded message from Ranjitha <ranji...@infosys.com 
<mailto:ranji...@infosys.com>> -----

 >

 > Date: Wed, 4 Jun 2014 11:05:34 +0000

 > From: Ranjitha <ranji...@infosys.com <mailto:ranji...@infosys.com>>

 > To: "tim.bu...@pobox.com <mailto:tim.bu...@pobox.com>" <tim.bu...@pobox.com 
<mailto:tim.bu...@pobox.com>>, "t...@cpan.org <mailto:t...@cpan.org>" <t...@cpan.org 
<mailto:t...@cpan.org>>

 > 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

Reply via email to