I mentioned this in the CB yesterday. I have a requirement to use Net::LDAPS. It has a dependency on IO::Socket::SSL, which in turn has a dependency on Net::SSLeay. Net::SSLeay requires openssl. I've installed openssl 0.9.7f from source using gcc, however when I try to make Net::SSLeay v1.25 I get the following error:

LD_RUN_PATH="/usr/local/ssl/lib" ld -o blib/arch/auto/Net/SSLeay/SSLea +y.so -bhalt:4 -bM:SRE -bI:/usr/local/lib/perl5/5.0055 1/aix/CORE/perl.exp -bE:SSLeay.exp -b noentry -lc -L/usr/local/lib SSL +eay.o -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto ld: 0711-317 ERROR: Undefined symbol: .__umoddi3 ld: 0711-317 ERROR: Undefined symbol: .__udivdi3 ld: 0711-317 ERROR: Undefined symbol: .__eprintf ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more info +rmation. make: 1254-004 The error code from the last command is 8.

During the make process Net::SSLeay remarks that it must be compiled using the same compiler as was used to make perl & openssl (for reasons to do with XS I assume), but when I mentioned this in the CB a monk (it might have been tye) suggested I try it, because sometimes it works. I guess it didn't :-(

Other than the XS issue, I'm wondering if the 'undefined symbol' error suggests a version mismatch.

Bearing in mind that for operational reasons I am not permitted to recompile a more up to date version of perl than the "5.005_51 built for aix" I've got (if only!), which I assume was built by IBM using the IBM C compiler (this version of perl ships with AIX 4.3), can anyone suggest a workaround or fix?

TIA

Update: Failing suggestions for workaround or fix, I'd welcome comments on whether the make error suggests compiler mismatch or version mismatch. I suspect the former, but my knowledge of XS is undef.

Update: It's amazing how quickly an absolute policy can be excepted when the only alternative is spending thousands rewriting in java :-)

Thanks for your input folks, I'm off to install perl 5.8.6

g0n, backpropagated monk

In reply to Net::SSLeay on AIX - make problems by g0n

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.