cURL / Mailing Lists / curl-library / Single Mail


Re: ERR_remove_thread_state not found in LIBEAY32.dll with mingw-w64

From: Daniel Stenberg <>
Date: Sat, 10 Aug 2013 20:49:18 +0200 (CEST)

On Fri, 9 Aug 2013, K. Frank wrote:

> I have written an compiled a very simple test program and when I run it I
> get a windows pop-up message box that says:
> Entry Point Not Found
> The procedure entry point ERR_remove_thread_state could not
> be located in the dynamic library LIBEAY32.dll

This happens when you've built libcurl against OpenSSL >= 1.0.0 while it finds
an older version at run-time.

> It is worth noting that the command line curl.exe (that came with the
> libcurl download) does run without error

Then it finds the correct DLL at run-time when you invoke curl!

> I have seen some comments that made it sound like ERR_remove_thread_state is
> new or deprecated or something, and that having a version mismatch between
> libcurl and libssl could cause this problem. But I believe I am using
> libcurl and libssl

libssl perhaps, but the error message clearly said LIBEAY32.dll...

List admin:
Received on 2013-08-10