cURL / Mailing Lists / curl-library / Single Mail

curl-library

Newbie question

From: Chris LaVelle <cjlavelle_at_comcast.net>
Date: Sat, 15 Jul 2006 06:00:27 -0400

I apologize in advance guys/gals, hate posting this but at my end.

Downloaded Curl and was trying to play with an example or two, and
stumbled across the fact that my machine doesn't have a version of
libsocket on it? I would have thought this would have seen part of the
standard install, but obviously it's not. I've run countless searches
on the web to find a place to download a socket library, but can't seem
to find one that works.

The only libsocket I've found is:

(/usr/local/lib/happycoders) # ls
libsocket.a libsocket.la libsocket.so
libsocket.so.0 libsocket.so.0.1.7

But even after installing that and adding "-L/usr/local/lib/happcoders "
to the Makefile I still get the following error:

(/home/cjlavelle/Zreport) # make
gcc -o example fopen.o
-L/home/cjlavelle/Downloads/curl-7.15.4/lib
-L/usr/local/ssl/lib -L/usr/local/lib/happcoders
-lcurl -lsocket -lnsl
-lssl -lcrypto -dl
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
make: *** [example] Error 1

It would have seemed to me that I would have been able to find a
standard socket library on the gnu web site or with several google
searches, but couldn't.

This is a really new install of Fedora 5 Linux. So I guess the question is what am I supposed to be downloading to get a fairly standard libsocket that will work with libcurl? Is this buried in another package?

Thanks for any and all help,

Chris
Received on 2006-07-15