Hey Monks, your advice please...
I'm trying to install DBI/DBD Oracle on a solaris server running oracle 8.1.7. I don't have full access to this machine, (and wont have without days of paper work) so I'm trying to install the modules in a local directory. DBI is going in fine, but DBD fails on the 'make test' saying...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h
+arness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base................Failed to load Oracle extension and/or shared
+libraries:
install_driver(Oracle) failed: Can't load '/tmp/rja_temp/DBTEST/DBD-Or
+acle-1.16/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle
+: ld.so.1: perl: fatal: libmm.so.13: open failed: No such file or dir
+ectory at /usr/local/lib/perl5/5.8.6/sun4-solaris/DynaLoader.pm line
+230.
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 expecte
+d
at t/01base.t line 19
The remaining tests will probably also fail with the same error.
...SNIP
the Oracle.so file is there, but I can't find libmm.so.13 anywhere on the system. Interestingly (a relative term :P ) I can't find this file on another system which has these modules successfully installed on.
oracle/sql plus stuff works fine under the account I'm installing this modules with. ORACLE_HOME is set okay, I'm setting PERL5LIB to include my module install location and LD_LIBRARY_PATH include the oracle and oracle lib directories.
I've tried DBI 1.46 with DBD 1.16 (because this is what's working on the other system), and I've also tried it with the latest versions of each (1.53/1.19) and get exactly the same error.
I'm really not sure where to go from here, any advice appreciated.
Thanks, Monks.
PS. I'm running the install like this
perl Makefile.PL PREFIX=/tmp/rja_temp/perl_db_lib LIB=/tmp/rja_temp/pe
+rl_db_lib
make
make test
make install
---
my name's not Keith, and I'm not reasonable.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.