cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Statically linked curl under Solaris ?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 5 Jul 2004 13:34:01 +0200 (CEST)

On Mon, 5 Jul 2004, Manuel VACELET wrote:

> I disabled ldap but I got some links errors with curl link :
> gcc -g -O2 -o curl main.o hugehelp.o urlglob.o writeout.o writeenv.o
> getpass.o homedir.o strtoofft.o -static -L/local/vm16/s8/lib
> ../lib/.libs/libcurl.a -lssl -lcrypto -lsocket -lnsl -lz

Odd, my Solaris builds always use -ldl as well, and the lack of this seems to
be what causes your problems.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-07-05

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET