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.

In reply to DBD::Oracle install complaining about missing file 'libmm.so.13' by reasonablekeith

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.