Weird one huh?

This isn't a case of my misusing MakeMaker, I can only assume something is apparently borked with my perl build.

Even with :nosearch in my LIBS var, linking is still missing some options:

/opt/csw/gcc4/bin/gcc -c -D_REENTRANT -fno-strict-aliasing -pipe -I/opt/bw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -march=pentium4 -msse -msse2 -mtune=opteron -I/opt/bw/include -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC "-I/opt/bw/lib/perl/5.12.1/distro/i386/CORE" Random.c

Running Mkbootstrap for Crypt::OpenSSL::Random ()
chmod 644 Random.bs
rm -f blib/arch/auto/Crypt/OpenSSL/Random/Random.so


gcc -G -L/opt/bw/lib/i386 -L/opt/bw/lib Random.o -o blib/arch/auto/Crypt/OpenSSL/Random/Random.so \
\

^^^ Here

When you run the testsuite, we get the relocation error:

PERL_DL_NONLAZY=1 /opt/bw/bin/i386/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..5 Can't load 'blib/arch/auto/Crypt/OpenSSL/Random/Random.so' for module Crypt::OpenSSL::Random:

ld.so.1: perl: fatal: relocation error:
file blib/arch/auto/Crypt/OpenSSL/Random/Random.so: symbol RAND_bytes: referenced symbol not found at /opt/bw/lib/perl/5.12.1/distro/i386/DynaLoader.pm line 200. at test.pl line 11
:'(

In reply to Re^4: MakeMaker failing to locate libs for shared objects by houst0n
in thread MakeMaker failing to locate libs for shared objects by houst0n

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.