looks like you are pointing to the wrong client.
Can you give me a print out out the Perl Makefile.PL
usually when you get not found
OCINlsEnvironmentVariableGet
to error it is either pointing to the wrong spot or
you do not have permissions on the correct file or you are missing a
file from the down load.
To get around this you might have to build against a full client (if you
can get onr) if you can't download the express edition of Oracle 10g and
use its client
cheers
Jonas Brømsø Nielsen wrote:
Hi John,
I have downloaded the 64-bit versions and this got me further AFAICT.
I am currently struggling with this:
; perl spikes/db_connect.pl
dyld: lazy symbol binding failed: Symbol not found: _OCINlsEnvironmentVariableGet
Referenced from:
/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/Oracle/Oracle.bundle
Expected in: flat namespace
dyld: Symbol not found: _OCINlsEnvironmentVariableGet
Referenced from:
/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/Oracle/Oracle.bundle
Expected in: flat namespace
Trace/BPT trap
I will have a look at some more of the responses I got, but you are most
certainly onto something.
Thanks,
jonasbn
On 17/11/2009, at 18.15, John Scoles wrote:
The warning from the build would be nice to stt.
At this stage I would say that you might be cross compile from 32 to 64 bit
but I have never played with the mac version and installing so that is just a
guess
cheers
Jonas Brømsø Nielsen wrote:
Hello,
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]