curl-users
Re: Statically linked curl under Solaris ?
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 5 Jul 2004 13:34:01 +0200 (CEST)
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.htmlReceived on 2004-07-05