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: Thu, 5 Nov 2009 23:46:42 +0100

On Thursday 05 of November 2009 23:32:43 David Byron wrote:
> Here's what I came up with. I tested these three scenarios on linux:
>
> 1. --with-ssl
> 2. --with-ssl PKG_CONFIG_PATH=<some special openssl pkgconfig directory>
> 3. --with-ssl=<some special openssl directory>
>
> #1 and #2 worked before the patch. All three work after the patch and use
> pkg-config to grab the correct info to link against the desired openssl.
>
> In general the patch feels OK, but I'm not sure that I really needed to
> export PKG_CONFIG_LIBDIR. Just assigning it wasn't enough though.
> Changing PKG_CONFIG_PATH helped when the specified path was correct, but if
> it wasn't, pkg-config still looked in the default location. Setting
> PKG_CONFIG_LIBDIR got pkg-config to only look in the specified place.

Thanks for writing the patch! At first glance I am pretty scared by the number
of deleted lines in the original code :-) Are you sure they were redundant?

It will take me more time to digest the patch. But one simple question for
now - is it going to work well when there is no pkg-config available on the
system?

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET