[openssl-users] MSVC Compiling OpenSSL on Windows 64 issues with missing libs

Richard Levitte levitte at openssl.org
Sat Jul 8 10:01:31 UTC 2017


Hi,

In message <CANFqjkLsqy_2z7TvZhap+8xBvx8VKBnmkNuq0KY6iJ8m3f+DPw at mail.gmail.com> on Sat, 8 Jul 2017 11:19:57 +0200, Raymi Coevan <raymi.coevan at gmail.com> said:

...
raymi.coevan> I have dependencies on Poco and OpenSSL (1.1.0e is currently used on
raymi.coevan> MacOSX and Linux), and when trying to compile using MSVC2015, I get
raymi.coevan> and link error telling that libeaymt64.lib and ssleaymt64.lib are
raymi.coevan> missing. I tried to find where these dependencies are defined (pragma
raymi.coevan> or linkage definitions) but did not find. These libraries do not look
raymi.coevan> to exist since I cannot find them on MacOSX and Linux either.

Yes, the libraries have changed name for 1.1.0, with names that are
more in line with the Linux / MacOS X names.

raymi.coevan> I have installed OpenSSL environment and tried using precompiled libs
raymi.coevan> and headers from http://slproweb.com/download/Win64OpenSSL-1_1_0f.exe

I tried that one with standard installation location
(c:/OpenSSL-Win64), and here's what I found (looking for *.lib) that's
relevant:

    c:/OpenSSL-Win64/lib/VC/libcrypto64MDd.lib
    c:/OpenSSL-Win64/lib/VC/libssl64MDd.lib
    c:/OpenSSL-Win64/lib/VC/libcrypto64MD.lib
    c:/OpenSSL-Win64/lib/VC/libssl64MD.lib
    c:/OpenSSL-Win64/lib/VC/libcrypto64MTd.lib
    c:/OpenSSL-Win64/lib/VC/libcrypto64MT.lib
    c:/OpenSSL-Win64/lib/VC/libssl64MTd.lib
    c:/OpenSSL-Win64/lib/VC/libssl64MT.lib
    c:/OpenSSL-Win64/lib/VC/static/libcrypto64MDd.lib
    c:/OpenSSL-Win64/lib/VC/static/libssl64MDd.lib
    c:/OpenSSL-Win64/lib/VC/static/libcrypto64MD.lib
    c:/OpenSSL-Win64/lib/VC/static/libssl64MD.lib
    c:/OpenSSL-Win64/lib/VC/static/libcrypto64MTd.lib
    c:/OpenSSL-Win64/lib/VC/static/libcrypto64MT.lib
    c:/OpenSSL-Win64/lib/VC/static/libssl64MTd.lib
    c:/OpenSSL-Win64/lib/VC/static/libssl64MT.lib

>From those, I guess you need to change your dependencies to be
libcrypto64MT.lib instead of libeaymt64.lib, and libssl64MT.lib
instead of ssleaymt64.lib.

Cheers,
Richard

-- 
Richard Levitte         levitte at openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/


More information about the openssl-users mailing list