[Perl] DBD::Oracle on linux install

Offer Kaye oferk at oren.co.il
Sun Sep 29 07:41:22 PDT 2002

> -----Original Message-----
> From: perl-admin at perl.org.il [mailto:perl-admin at perl.org.il]On Behalf Of
> Gabor Szabo
> Sent: Sunday, September 29, 2002 4:53 PM
> To: perl at perl.org.il
> Subject: [Perl] DBD::Oracle on linux install
> Hi ppl,
> I am trying to install DBD::Oracle on a Perl 5.6.1 on Linux.
> DBI is already there make passes seemingly correctly with DBD::Oracle but
> then make test gives me an error message similar to this:
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
> -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use
> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/base..............Failed to load Oracle extension and/or shared
> libraries:
> install_driver(Oracle) failed: Can't load
> 'blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle:
> blib/arch/auto/DBD/Oracle/Oracle.so: undefined symbol: naeeta at
> /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 206.
>   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/base.t line 19
> Anyone saw this already ?
> -- Gabor
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://www.perl.org.il/cgi/listinfo/perl

Some advice I found on the 'net (different places):

1. make sure to set your environment variables ORACLE_HOME, ORACLE_SID, be
sure $ORACLE_HOME/bin is in your path, and that $ORACLE_HOME/lib is in your
library path (do all this BEFORE the "perl Makefile.PL; make ; make test ;
make install" dance).

2. Try the following line:
perl Makefile.PL -m path/to/oracle.mk

3. Try adding the '-lc' to $ORACLE_HOME/rdbms/lib/sysliblist (just make sure
it's not on a new line).

4. Check out this solution:

5. Is Oracle 9 installed or an earlier version? If it is 9, this might be
the problem. Also, check that the version of DBI is compatible with the
version of DBD::Oracle that you are trying to install.

Hope this helps :-)
Offer Kaye

More information about the Perl mailing list