Issue with DBD::Oracle on OS X Snow Leopard

[email protected] (Jonas Brømsø Nielsen)
Newsgroups perl.copenhagen
Message-ID <[email protected]>
Hep,

I am experiencing some issues with DBD::Oracle on OS X 10.6 Snow Leopard.

I have downloaded instant client Version 10.2.0.4 (32-bit) from: 

http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html

Namely, the following files:

- instantclient-basic-10.2.0.4.0-macosx-x86.zip
- instantclient-sqlplus-10.2.0.4.0-macosx-x86.zip
- instantclient-sdk-10.2.0.4.0-macosx-x86.zip

I am attempting to build: DBD::Oracle 1.23, downloaded from CPAN.

I am currently using the system perl:
--
This is perl, v5.10.0 built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)
--

I have unpacked the downloaded zip files in: /Applications/instantclient and have added this to my: $DYLD_LIBRARY_PATH

The build goes with some warnings (I can provide this info if requested), performing the test sted gives me the following error:

sonic ~/Downloads/Folx/DBD-Oracle-1.23
; make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base.t .............. # Test loading DBI, DBD::Oracle and version
t/01base.t .............. 1/6 
#   Failed test 'install_driver'
#   at t/01base.t line 22.
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load '/Users/jonasbn/Downloads/Folx/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle/Oracle.bundle' for module DBD::Oracle: dlopen(/Users/jonasbn/Downloads/Folx/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle/Oracle.bundle, 2): Symbol not found: _OCIAttrGet
 Referenced from: /Users/jonasbn/Downloads/Folx/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle/Oracle.bundle
 Expected in: flat namespace
in /Users/jonasbn/Downloads/Folx/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle/Oracle.bundle at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 207.
at (eval 8) line 3
Compilation failed in require at (eval 8) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/01base.t line 19
The remaining tests will probably also fail with the same error.

Any sort of pointers or hints on how to get this to work would be most welcome. I got it working on 10.5 so upgrading to Snow Leopard hosed my working installation.

Thanks,

jonasbn
--
pauseid: JONASBN
email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.