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: Thu, 5 Nov 2009 15:11:08 -0800

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

Pretty sure I reversed the direction of the diff. I've attached a new one.

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

When I rename /usr/bin/pkg-config to pkg-config.off I get a configure
failure trying to use my hand-built openssl:

configure: set PKG_CONFIG_LIBDIR to "<abs_path_to>/openssl/lib/pkgconfig"
checking for pkg-config... no
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_connect in -lssl... no
checking for ssl with RSAglue/rsaref libs in use... checking for SSL_connect
in -lssl... (cached) no
no

which is basically the same thing I got before. Looking in config.log the
reason is unresolved externs to stuff in libdl.

If I pass --with-ssl to configure to get the system stuff, configure works
fine and both libcurl and the curl executable build as well.

-DB

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2009-11-06

These mail archives are generated by hypermail.

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

File upload with ASP.NET