"be consistent" | |
PerlMonks |
Re: Solaris problem or compile optionsby zengargoyle (Deacon) |
on Feb 04, 2012 at 03:42 UTC ( [id://951755]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|