Re: Static linking with ssl

2016-09-19 Thread Sean Miller via curl-library
> 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

2016-09-19 Thread Erik Ronström
>> 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

2016-09-19 Thread Daniel Stenberg

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

Static linking with ssl

2016-09-16 Thread Erik Ronström
Hi Curlers,

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!

Thanks
Erik



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