ports of perl install error [-lsocket]

Anton Berezin tobez at tobez.org
Sun Jul 26 14:18:31 UTC 2009


On Wed, Jul 22, 2009 at 10:17:57AM +0800, epstar wrote:

> What libraries to use? [-lsocket -lgdbm -lm -lcrypt -lutil]

> /usr/bin/ld: cannot find -lsocket
> I can't compile the test program.
> You have a BIG problem.  Shall I abort Configure [y]

> Stop in /usr/ports/lang/perl5.8.
> *** Error code 1

> #locate socket.so

> /usr/local/lib/libsocket.so.1

What is the output of

   pkg_info -W /usr/local/lib/libsocket.so.1

?

Cheers,
\Anton.
-- 
Matters of elegance ought to be left to the tailor and to the cobbler.
  -- L. Boltzmann


More information about the freebsd-perl mailing list