Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jul 2009 16:01:43 +0200
From:      Anton Berezin <tobez@tobez.org>
To:        epstar <epstar@vip.sina.com>
Cc:        freebsd-perl@freebsd.org
Subject:   Re: ports of perl install error [-lsocket]
Message-ID:  <20090726140143.GA42120@heechee.tobez.org>
In-Reply-To: <op.uxf5z7a2wysq3f@localhost>
References:  <op.uxf5z7a2wysq3f@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090726140143.GA42120>