Add /opt/csw/lib/sparcv9 to your LD_LIBRARY_PATH. Whatever method Makefile.PL is using to probe libraries isn't finding the openssl libraries and therefore not linking them in.

You may also have to set RPATH or LD_RUN_PATH so that the libraries can be found later when the module is loaded and LD_LIBRARY_PATH is unset (or you'll have to make sure to keep it set).

You may also want to build your own openssl anyway. Depending on whether or not CSW stuff is build with GCC or Sun's compiler. Weird things can happen if you mix and match. (net-snmp's SNMP module complains loudly if you try to mix compilers).

Short versioon: you'll need to get X509.so built with a rpath pointing to /opt/csw libs. The other CSW software that uses CSW libs does so by rpath. (unless your systems administrators have already added /opt/csw/lib/... to the default library search path).

Solaris is such a PITA.


In reply to Re: Solaris problem or compile options by zengargoyle
in thread Solaris problem or compile options by ckevinj

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.