cURL / Mailing Lists / curl-users / Single Mail


Re: Statically linked curl under Solaris ?

From: Daniel Stenberg <>
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 -- --
       Dedicated custom curl help for hire:
Received on 2004-07-05