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
