DBD::Oracle installation problem



Hi..
I am a newbie trying to install DBD::Oracle on a linux box. The
Oracle server is on a remote host.

I read online that I would have to install the Oracle Instantclient to
be able to do so.

I followed the instructions on one site and did the following:

made a directory 'instantclient'
location: /home/ralf/instantclient

'instantclient' directory has the following files.
classes12.jar
libclntsh.so.10.1
libnnz10.so
libocci.so.10.1
libociei.so
libocijdbc10.so
ojdbc14.jar
genezi

I made another directory 'lib' inside 'instantclient' and moved all the
files into 'lib'

Then i created a symbolic link to libclntsh.so by doing the following
on command prompt.
$ ln -s libclntsh.so.10.1 libclntsh.so

Exported the ORACLE_HOME and LD_LIBRARY_PATH variables
$ export ORACLE_HOME=/home/ralf/instantclient
$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib

Then I did the following:
cpan> install DBD::Oracle.

It failed saying:
-----------------------------------------------------------------------------------------------
Trying to find an ORACLE_HOME
Your LD_LIBRARY_PATH env var is set to ''

Warning: No success on command[/usr/bin/perl Makefile.PL]
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
PYTHIAN/DBD-Oracle-1.19.tar.gz : writemakefile NO
'/usr/bin/perl Makefile.PL' returned status 512
--------------------------------------------------------------------------------------------

.



Relevant Pages

  • Re: (Fwd) Re: New Oracle "Instant Client"
    ... Subject: New Oracle "Instant Client" ... I am a newbie trying to install DBD::Oracle on a linux box. ... I read online that I would have to install the Oracle Instantclient to ... Failed during this command: ...
    (perl.dbi.users)
  • DBD::Oracle issues
    ... I am a newbie trying to install DBD::Oracle on a linux box. ... Oracle server is on a remote host. ... I read online that I would have to install the Oracle Instantclient to ... It failed saying: ...
    (comp.lang.perl.modules)
  • Re: InstantClient for x64
    ... the sqlplus comes with the full client and the DB. ... not included with the instantclient. ... This can be done after the initial default install. ... I've followed the these instructions twice for the 32-bit drivers, ...
    (comp.databases.oracle.server)
  • (Fwd) Re: New Oracle "Instant Client"
    ... Subject: New Oracle "Instant Client" ... I am a newbie trying to install DBD::Oracle on a linux box. ... I read online that I would have to install the Oracle Instantclient to ... Failed during this command: ...
    (perl.dbi.users)
  • Re: Question about installing instantclient on linux using Oracles instructions
    ... so I could connect to an instance of Oracle at home. ... install several hundred megabytes to just get sqlplus installed. ... suggestions were sqldeveloper and instantclient. ... Download the appropriate Instant Client packages for your platform. ...
    (comp.databases.oracle.server)