curl-library
Re: ftpupload.c in SCO openserver
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Tue, 27 Jul 2004 07:28:21 +0200
Date: Tue, 27 Jul 2004 07:28:21 +0200
behrouz zolfaghari wrote:
> here are the answers
>
> curl-config --libs
> -L/usr/local/lib -lcurl -L/usr/local/lib -lnsl lsocket -lsocket -lz
>
> curl-config --cflags
> -I/usr/local/include
Based on this information, you can now conclude that your command line
should look like this:
cc -I/usr/local/include -L/usr/local/lib -o ftpupload ftpupload.c -lcurl
-lnsl -lsocket -lz
However, you said you installed it in /curl, so I guess you have two
curl installations, one in /usr/local/ and one in /curl.
You might want to run /curl/bin/curl-config to find out the flags for
that one.
Linus
Received on 2004-07-27