cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

RE: undefined reference to `dlsym'

From: David Byron <dbyron_at_dbyron.com>
Date: Mon, 2 Nov 2009 08:48:07 -0800

> It looks like your OpenSSL build needs -ldl (dynamically
> linked) and the configure script does not know about
> it. You are specifying the path to OpenSSL and I think
> this prevent the configure script from using pkg-config.
> Does your system provide a working pkg-config?

Yes.

> If yes try the following and paste the output here:
>
> $ pkg-config openssl --libs

$ pkg-config openssl --libs
-lssl -lcrypto -ldl -lz

openssl.pc for the installed package and for the one I built both contain:

Libs: -L${libdir} -lssl -lcrypto -ldl

> Eventually you can try to set the PKG_CONFIG_PATH
> environment variable to force your local build of OpenSSL
> and see what happens.

Makes sense, though I grepped for pkgconfig in the root curl directory and
m4/ and only see things that I think are related to libcurl.pc.

-DB

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-02

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET