Hi thanks for the reply, ldd outputs:
-bash-3.00$ ldd /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/Socket/S +ocket.so libc.so.1 => /lib/libc.so.1 libm.so.2 => /lib/libm.so.2 /platform/SUNW,Sun-Fire-V445/lib/libc_psr.so.1
I have also used ldd -r and I get the following: Main thing imo:
symbol not found: inet_pton (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so)
Do you think that this is causing the problem? because the error log states that "...symbol inet_aton: referenced symbol not found at..." or does that point to XSLoader.pm? All of the info:
-bash-3.00$ ldd -r /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/Socke +t/Socket.s o libc.so.1 => /lib/libc.so.1 symbol not found: main (/usr/local/lib/perl5/5.12.0/s +un4-solari s/auto/Socket/ +Socket.so) symbol not found: PL_stack_max (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: PL_markstack_ptr (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: PL_sub_generation (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: PL_scopestack_ix (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: PL_stack_sp (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: PL_sv_yes (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: PL_curcop (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: PL_stack_base (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: PL_unitcheckav (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_croak (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_hv_common_key_len (/usr/ +local/lib/ perl5/5.12.0/s +un4-solaris/auto/Socket/Socket.so) symbol not found: Perl_newCONSTSUB (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_sv_upgrade (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_get_hv (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_newSV_type (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_croak_xs_usage (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_sv_2pv_flags (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_newSVpvf (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_sv_2mortal (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: inet_aton (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: gethostbyname (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) /platform/SUNW,Sun-Fire-V445/lib/libc_psr.so.1 symbol not found: Perl_sv_newmortal (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_sv_setpvn (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_sv_utf8_downgrade (/usr/ +local/lib/ perl5/5.12.0/s +un4-solaris/auto/Socket/Socket.so) symbol not found: Perl_sv_2pvbyte (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_safesysmalloc (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_newSVpvn_flags (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_safesysfree (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_newSViv (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_sv_2uv_flags (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_stack_grow (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_sv_2iv_flags (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: inet_ntop (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: inet_pton (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_form (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_get_sv (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_newSVpv (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_new_version (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_sv_derived_from (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_vcmp (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_vstringify (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) symbol not found: Perl_newXS (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_sv_free2 (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_sv_free (/usr/local/lib/perl5/ +5.12.0/sun 4-solaris/auto +/Socket/Socket.so) symbol not found: Perl_call_list (/usr/local/li +b/perl5/5. 12.0/sun4-sola +ris/auto/Socket/Socket.so) libm.so.2 => /lib/libm.so.2

In reply to Re^2: Can't build modules that load Socket.so by MikeMokkas
in thread Can't build modules that load Socket.so by MikeMokkas

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.