curl-library
Re: Cannot find LDAP symbols while statically linking with CURL
Date: Thu, 2 Jun 2011 18:28:21 -0700
On Thu, Jun 02, 2011 at 08:42:12PM -0400, Saqib Ali wrote:
> Hi. I'm using curl version 7.21.6 running on a Solaris 10 box.
>
> I'm trying to build a stand-alone executable to deliver so I would like to
> statically link CURL with my main() program.
> When I try to link it, I get numerous undefined symbols, many of them LDAP
> related. (See below)
> Is there a static library that I should be linking with that will give me these
> symbols?
>
> Currently my linker line includes "-Bstatic -lcrypto -lssl -lssh2"
Run "./curl-config --static-libs" or "pkg-config libcurl --static --libs" to
get the list of libraries needed to link libcurl statically.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-03