curl / Mailing Lists / curl-library / Single Mail

curl-library

RE: Undefined reference to pThread issue with 7.55.1

From: Dan Heinz <dheinz_at_softwarekey.com>
Date: Mon, 25 Sep 2017 14:58:15 +0000

> Adding -pthread to the compiler options of the test app fixes the
> issue, but I never needed to do this before (we've been using curl for years).

...

>> I see one difference is --enable-threaded-resolver is defaulted to on.
>> Unfortunately, there is a bug where I cannot turn it off (without the
>> patch). I'm curious if I am on the right track here with the issue?
>> Could it be due to the threaded resolver being on?

>Right, we switched to threaded resolver by default now so you need to switch that off if you want to stick to the >older synchronous way, or use c-ares.

>But OpenSSL 1.1.x also requires pthreads now so that my be a second reason.

As we do not use Open SSL 1.1.x yet, it looks to be the thread resolver. As we don't use patches, we can use 7.55.0 until the next release when we can turn it off.
Thank you for the quick response!

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-09-25