-
September 26th, 2012, 04:25 PM
#1
“_ERR_remove_thread_state” linker error on libcurl usage
1. Got OpenSSL (Win32) here http://slproweb.com/products/Win32OpenSSL.html
2. Downloaded and compiled libCURL wit following flags
Code:
USE_SSLEAY;
USE_OPENSSL;
CURL_DISABLE_LDAP;
3. Included headers and libs in my project
... and now i get this ugly error.
1>libcurl.lib(ssluse.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_ERR_remove_thread_state".
1>C:\[...].exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
I guess this should remind me of a missing lib, but i think there are none. Google results dont help me any further. Any ideas?
Greets Manuel
I'm hanging around in english forums, becuase i want to _improve_ my english. So please feel free to correct me.
-
September 28th, 2012, 01:20 AM
#2
Re: “_ERR_remove_thread_state” linker error on libcurl usage
Hmmm... I use curl and OpenSSL on Windows but that symbol doesn't seem to be defined anywhere. Either it's very recent or it needs a specific version of OpenSSL (and yours is below or above the required version). I do have ssluse.c which references ERR_remove_state but not ERR_remove_thread_state. My version of OpenSSL is 0.9.8h and ERR_remove_state is defined in openssl-0.9.8h\crypto\err\err.c. It gets compiled into libeay32.lib.
Check your version of curl to find out which version of OpenSSL it needs. On my system, curl is version 7.21.5
"A problem well stated is a problem half solved.” - Charles F. Kettering
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|