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: Kamil Dudka <kdudka_at_redhat.com>
Date: Mon, 2 Nov 2009 20:56:54 +0100

On Monday 02 of November 2009 17:48:07 David Byron wrote:
> openssl.pc for the installed package and for the one I built both contain:
>
> Libs: -L${libdir} -lssl -lcrypto -ldl

I think --with-ssl without any extra argument is the way to go in that case.

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

Just set your PKG_CONFIG_PATH variable to the directory containing openssl.pc
from your build of OpenSSL and run the configure script with --with-ssl only.
I believe it solves the problem.

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