cURL / Mailing Lists / curl-library / Single Mail


RE: undefined reference to `dlsym'

From: David Byron <>
Date: Fri, 30 Oct 2009 13:46:02 -0700

On Friday October 30, 2009 @ 1:31 PM, Kamil Dudka wrote:

> On Friday 30 of October 2009 21:17:13 David Byron wrote:
> > I haven't figured out a good way to add "-ldl" to
> > CURL_LIBS, or in some other way get the curl app to
> > link.
> Does setting LDFLAGS=-ldl solve the problem (with the
> original configure script)?

Yes it does -- both at configure time and when linking the curl executable.
I don't mind setting this but I'm curious whether there's something special
about my system or if maybe we can teach autoconf to figure this out for

Thanks much for your help.


List admin:
Received on 2009-10-30