You will have to do with at least DBD 1.17 as it is the first one that can compile against the Oracle instant client.

You could also compile 1.16 against an older 9 client or it might even work with the enterprise 10 client.

One last hope it to get the Makefile.PL from 1.17 and run it against 1.16 DBD::Oracle. This trick might work.

cheers
John Scoles
Eric Pancer wrote:
Greetings,

I'm working with RHEL 4 and having some issues compiling DBD-Oracle
1.16. I'm guessing this may be due to using an older version of
DBD-Oracle, but I cannot upgrade to DBI version 1.51 at this point.

So, here's the details:

$ uname -a
Linux example.org 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007
i686 i686 i386 GNU/Linux

$ perl -v | head -2

This is perl, v5.8.5 built for i386-linux-thread-multi

$ rpm -qa |grep oracle
oracle-instantclient11.1-devel-11.1.0.7.0-1
oracle-instantclient11.1-basic-11.1.0.7.0-1
oracle-instantclient11.1-sqlplus-11.1.0.7.0-1
$ rpm -qa |grep DBI
perl-DBI-1.40-8

$ set | grep -i oracle
LD_LIBRARY_PATH=/usr/lib/oracle/11.1/client/lib:
ORACLE_HOME=/usr/lib/oracle/11.1/client
ORACLE_SID=DB001
TNS_ADMIN=/opt/oracle

Now for the real problem...

$ cd DBD-Oracle-1.16
$ perl Makefile.PL -m /usr/share/oracle/11.1/client/demo.mk
Using DBI 1.40 (for perl 5.008005 on i386-linux-thread-multi)
installed in /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/DBI

 Configuring DBD::Oracle ...

    Remember to actually *READ* the README file!
        Especially if you have any problems.

Using Oracle in /usr/lib/oracle/11.1/client
DEFINE _SQLPLUS_RELEASE = "1101000700" (CHAR)
Oracle version 11.1.0.7 (11.1)
Found /usr/share/oracle/11.1/client/demo.mk
Using /usr/share/oracle/11.1/client/demo.mk
Reading /usr/share/oracle/11.1/client/demo.mk
ERROR parsing /usr/share/oracle/11.1/client/demo.mk: Unable to
determine what to link with.
Please send me copies of these files (one per mail message):
/usr/share/oracle/11.1/client/demo.mk

demo.mk hasn't been changed since installation....

$ sha1sum /usr/share/oracle/11.1/client/demo.mk
d90eb6833a7dfe08b3be01f5f36c9d5996c9b49d  /usr/share/oracle/11.1/client/demo.mk

Does anyone else have DBD-Oracle running in this environment who could
offer some help?

Thanks,

- Eric

Reply via email to