I found a similar problem report in perl's bug reports about Socket on Solaris: http://rt.perl.org/rt3/Public/Bug/Display.html?id=2930 , do you know how to add -lresolv to appear in LIBS together with the other libraries? (Is there any way of doing that without recompiling whole perl?).