Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2002 19:33:56 +0100
From:      F.Xavier Noria <fxn@isoco.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: DBD::Oracle
Message-ID:  <20020211193356.55d84a34.fxn@isoco.com>

next in thread | raw e-mail | index | archive | help
On Mon, 11 Feb 2002 16:58:45 +0100
"F.Xavier Noria" <fxn@isoco.com> wrote:

: I have an Oracle client running from the command line (from a tarball
: with a running Linux client). In order to connect to the server via
: DBD::Oracle I have read in the archives that people compile a Linux
: version of Perl under /compat/linux and then installs DBI and
: DBD::Oracle for that perl, how is that done?

Well, I installed a binary distribution of Perl from RedHat and then DBI
using /compat/linux/usr/bin/perl and /compat/linux/usr/bin/make. Now the
problem is that DBD::Oracle compiles that way but cannot open the just
built Oracle.so at /compat/linux/usr/bin/make test:

  su-2.05a# /compat/linux/usr/bin/make test
  PERL_DL_NONLAZY=1 /compat/linux/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux   -I/usr/lib/perl5/5.00503 -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: OCIServerAttach at   /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169.
   at (eval 1) line 3
  Perhaps a required shared library or dll isn't installed where expected
   at t/base.t line 19

Do you know what could be done here?

-- fxn

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020211193356.55d84a34.fxn>