in reply to Re^6: Can't build modules that load Socket.so
in thread Can't build modules that load Socket.so

Something like
perl Makefile.PL LIBS=-lresolv
Just to go http://perl5.git.perl.org/perl.git/tree/blead:/ext/Socket and download all the files in that directory (and t)

Replies are listed 'Best First'.
Re^8: Can't build modules that load Socket.so
by MikeMokkas (Initiate) on Sep 22, 2010 at 10:51 UTC
    This is funny (or not actually :( ) Now when I try to compile Socket I get the same error. Only the paths are different, I placed the Socket folder containing all the files and the folder t with all of its files , in my home directory. Should I place it somewhere else? (In /usr/local/perl perhaps? )
      This is funny (or not actually :( ) Now when I try to compile Socket I get the same error.

      From what I've seen, it seems like typical solaris experience :(

      It also seems like your admin should have caught/resolved this when installing perl

      Trying search again: Socket.so fatal relocation error inet_atonRe: [perl #17535] inet_aton not found during test phase - nntp.perl.org

      =item __inet_* errors If you receive unresolved symbol errors during Perl build and/or test referring to __inet_* symbols, check to see whether BIND 8.1 is installed. It installs a /usr/local/include/arpa/inet.h that refers t +o these symbols. Versions of BIND later than 8.1 do not install inet.h in that location and avoid the errors. You should probably update to +a newer version of BIND (and remove the files the old one left behind). If you can't, you can either link with the updated resolver library pr +ovided with BIND 8.1 or rename /usr/local/bin/arpa/inet.h during the Perl bui +ld and test process to avoid the problem.
      So give that a try :D

      Should I place it somewhere else? (In /usr/local/perl perhaps? )

      No