cURL / Mailing Lists / curl-library / Single Mail

curl-library

Compiling libcurl from source Question

From: Nicholas Parsons <nicholas.parsons_at_marlinholdings.com>
Date: Thu, 10 Jun 2004 10:11:11 -0400

Hello Everyone,

I am trying to compile the libcurl/curl 7.12.0 source code I downloaded
from the curl web site and am receiving a error message from the
configure script. The machine is a s26 box with UNIX_SV installed on
it.

>From the command line I typed:
# ./configure --with-ssl --disable-shared

And received the following tailed message:
checking for gethostbyname... no
checking for gethostbyname in -lnsl... no
checking for gethostbyname in -lsocket... no
checking for gethostbyname with both nsl and socket libs... yes
checking for gethostbyname in ws2_32... no
configure: error: couldn't find libraries for gethostbyname()

I looked at the man page for gethostbyname() on the system and
it told me that it belonged to the netdir library. I'm not exactly
sure what this maps to on the system and how to inform the configure
script of exactly where it should look for this...

Any help on this would be greatly appreciated.

Thanks in advance,
~~Nick
Received on 2004-06-10