Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Solaris problem or compile options

by rurban (Scribe)
on Feb 03, 2012 at 21:53 UTC ( [id://951716]=note: print w/replies, xml ) Need Help??


in reply to Solaris problem or compile options

Looks like Module::Install did not find your static libperl.a
Just add it manually to your linker line and you'll be fine. Something like:

gcc -mcpu=v9 -m64 -G -L/usr/lib/sparcv9 -fstack-protector -G X509.o -o blib/arch/auto/Crypt/OpenSSL/X509/X509.so -L/tools/perl/5_14_2/lib/5.14.2/sun4-solaris-64/CORE -lperl

Replies are listed 'Best First'.
Re^2: Solaris problem or compile options
by Eliya (Vicar) on Feb 03, 2012 at 22:12 UTC

    XS shared object files are never explicitly linked against libperl, simply because they are designed to be dynamically loaded by perl itself (via dlopen). And perl being perl it does have all the Perl symbols already (linking in libperl.a would effectively duplicate the code — so don't do that).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://951716]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2026-04-21 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.