cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl and HTTP/2

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 1 Sep 2014 11:26:37 +0200 (CEST)

On Mon, 1 Sep 2014, Bisera Milosheska wrote:

> Passing the LDFLAGS="-ldl" doesn't change anything either.

Then how are you doing that? I build curl with a static openssl like that very
regularly and it works fine for me:

  $ LDFLAGS="-ldl" ./configure --with-ssl=$HOME/build-openssl

> However, this is what seems suspiciuos in the config.log file:

> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function
> `dlfcn_globallookup':
>
> dso_dlfcn.c:(.text+0x11): undefined reference to `dlopen'
> dso_dlfcn.c:(.text+0x24): undefined reference to `dlsym'
> dso_dlfcn.c:(.text+0x2f): undefined reference to `dlclose'

Yeps, that's a missing libdl. Which you add with LDFLAGS="-ldl" ...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-01