cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftpupload.c in SCO openserver

From: behrouz zolfaghari <behrouz.z_at_lycos.com>
Date: Tue, 27 Jul 2004 03:18:48 -0500

curl-config --libz
-L/curl/lib -lcurl -lnsl -lsocket -lz -L/usr/local/lib

curl-config --cflags
-L/curl/include

the command line
cc -o ftpupload -lnsl -lcurl -lz -lsocket -I/curl/include -L/curl/lib

thanks again
----- Original Message -----
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Tue, 27 Jul 2004 09:55:00 +0200
To: libcurl development <curl-library_at_cool.haxx.se>
Subject: Re: ftpupload.c in SCO openserver

> behrouz zolfaghari wrote:
>
> > and compiled the file with a command line like the one you sent the
> > only differnce is in the directories mentioned with -L and -I
> > switches.
>
> It would be a lot easier for me to help you if you included the exact
> command line you used.
>
> > but i get the following errors
> > i386ld values-Xa.o : can't find library libcurl.a
> > i386ld values-Xa.o : can't find library libz.a
>
> Did you run /curl/bin/curl-config to find out the flags to use?
>
> Please give me the output of "/curl/bin/curl-config --libs" and
> "/curl/bin/curl-config --cflags" and also the exact command line you
> used to compile.
>
> Linus
>

-- 
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
Received on 2004-07-27