no_need_for_static_oracle_perl_dbi

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: is static Perl required for DBD::Oracle on Linux?
From: Sally G <slg@orion.mc.duke.edu>
Date: Tue, 15 Aug 2000 12:44:17 -0400

Is has it been necessary for others to use a static compilation
of Perl and DBI in order to use DBD::Oracle in the following
configuration, or something like it?

Oracle 8.1.5 
Red Hat Linux (2.2.14)
pentium

I'm ready to try it, unless others have generally
found static unnecessary. Then I will look for a better approach.

Thanks,
Sally

P.S.
The first error I get in "make test", (with a dynamic
Perl) when I use 
"perl Makefile -PL" with no options, -n LIBCLNTSH, or -b is:    

   t/general...........install_driver(Oracle) failed: 
   Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for module
DBD::Oracle:
   libclntsh.so.8.0: cannot open shared object file: 
   No such file or directory at 
   /usr/local/lib/perl5/5.6.0/i686-linux/DynaLoader.pm line 200.
   at (eval 1) line 3
   Compilation failed in require at (eval 1) line 3.
   Perhaps a required shared library or dll isn't installed where
expected
   at t/general.t line 20  

===

Subject: RE: is static Perl required for DBD::Oracle on Linux?
From: "Bruce Taneja" <bruce@ereliable.com>
Date: Tue, 15 Aug 2000 11:48:42 -0500

Yes, If you look at the readme again..
you will see that for all compilation/ linking
errors static linking is recommended..

===


Subject: Re: is static Perl required for DBD::Oracle on Linux?
From: Sally G <slg@orion.mc.duke.edu>
Date: Thu, 17 Aug 2000 12:56:36 -0400

Well, to answer my own question: No. 

I got it to work without going static by getting my environment
variables together. 

The archive of this list at http://ww.xray.mpe.de/mailing-lists/dbi/ 
was of great help, though it obviously took me a while.

To eliminate the errors during DBD::Oracle "make test"
concerning libclntsh, LD_LIBRARY_PATH was of the essence, e.g.:

LD_LIBRARY_PATH=/ora8/u01/app/oracle/product/8.1.5/lib

I passed all the tests for DBD, but still got a message from DBI
during test:

t/proxy.............Can't call method "ping" on unblessed reference 
at t/proxy.t line 87.

I'm working on finding out it this is going to get me.  Any advice?

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu