DBD::Oracle installation problem
- From: enzo.660@xxxxxxxxx
- Date: 23 Jan 2007 16:00:42 -0800
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
--------------------------------------------------------------------------------------------
.
- Prev by Date: RE: :Oracle make test problem
- Next by Date: Re: Not able to connect - But the db2 client utility is working fine
- Previous by thread: Problems using the DBI class to access CSV files.
- Next by thread: RE: :Oracle make test problem
- Index(es):
Relevant Pages
|
|