Re: Static linking with ssl
> I get lots of linking errors (missing symbols) – not when compiling curl, but > when I try to statically link libcurl to my application. The missing symbols > are all SSL related (I can dig them out if is of any use). Statically linking doesn't include libcurl's own dependencies. Find out which libraries provide the missing symbols and add them to your link flags. Regards,Sean M. --- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
Re: Static linking with ssl
>> Is it possible to statically link against libcurl when using >> --with-darwinssl? I can’t get it to work, and I don’t know if it’s because >> I’m doing something wrong, or because it is simply not possible in the first >> place! > > What happens when you try? I get lots of linking errors (missing symbols) – not when compiling curl, but when I try to statically link libcurl to my application. The missing symbols are all SSL related (I can dig them out if is of any use). Erik --- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
Re: Static linking with ssl
On Fri, 16 Sep 2016, Erik Ronström wrote: Is it possible to statically link against libcurl when using --with-darwinssl? I can’t get it to work, and I don’t know if it’s because I’m doing something wrong, or because it is simply not possible in the first place! What happens when you try? -- / daniel.haxx.se--- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html