I am trying to install DBD::Oracle on my mac and I¹m having issues with the
make test.  But I think the issues begin earlier.

Mac os/x 10.5.8 (intel)
DBD-Oracle-1.23

environment:  (note this is the full blown oracle server 10G for mac; not
just instant client.  Sqlplus etc work fine.)
DYLD_LIBRARY_PATH=/Users/oracle/product/10.2.0/db_1/lib
LD_LIBRARY_PATH=/Users/oracle/product/10.2.0/db_1/lib:/Users/oracle/product/
10.2.0/db_1
ORACLE_BASE=/Users/oracle
ORACLE_HOME=/Users/oracle/product/10.2.0/db_1
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/oracle
/product/10.2.0/db_1/lib:/Users/oracle/product/10.2.0/db_1/bin:/Users/jdanil
000/ssh:/usr/local/mysql/bin:/Users/jdanil000/bin
TNS_ADMIN=/Users/oracle/product/10.2.0/db_1/network/admin

 perl Makefile.PL seems normal.  No errors and no warnings.

make returns the following warnings.  I think this is the root of my issues
but don¹t know how to resolve:

ld warning: in /Users/oracle/product/10.2.0/db_1/lib//libclntsh.dylib, file
is not of required architecture
ld warning: in /Users/oracle/product/10.2.0/db_1/lib//libclntsh.dylib, file
is not of required architecture


And then make test fails pretty miserably:

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base................# Test loading DBI, DBD::Oracle and version
t/01base................ok 1/6
#   Failed test 'install_driver'
#   in t/01base.t at line 22.
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load
'/var/root/.cpan/build/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle/Oracle.bund
le' for module DBD::Oracle:
dlopen(/var/root/.cpan/build/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle/Oracl
e.bundle, 2): Symbol not found: _OCIAttrGet
  Referenced from: 
/var/root/.cpan/build/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle/Oracle.bundl
e
  Expected in: dynamic lookup
 at (eval 7) line 3
Compilation failed in require at (eval 7) 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.
<truncated many failing tests....>

I¹ve tried several, but not all, of the various hacks around for getting
DBD::Oracle working on mac os/x but so far none that I¹ve tried have helped.
Any assistance, clues, or good wishes are welcome.

John.


John Danilson
Comcast
12801 Worldgate Dr.
Herndon, VA 20170

aim: jtdanilson
(work) 703.939.8027
(blackberry) 703.659.5415
(fax) 703.939.8001
(cell) 703.615.4997
(home) 703.883.1139


Reply via email to