cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Statically linked curl under Solaris ?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 6 Jul 2004 10:15:51 +0200 (CEST)

On Mon, 5 Jul 2004, Manuel VACELET wrote:

> Ok but -ldl is not possible when you use '-static' flags with gcc (there is
> only dynamic libraries 'libdl')

Tell that to your nsl library:

         /usr/lib/libnsl.a(netdir.o): In function `load_xlate':

Since it uses dlopen, you need to link with a library that provides the
dlopen() function.

-- 
      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-06