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

Raymi Coevan raymi.coevan at gmail.com
Sat Jul 8 10:20:40 UTC 2017


Hi,

Indeed, the list you mentioned is exactly the one I have in my environment.
In my MSVC project, I only statically link with libcrypto64MT.lib and
libssl64MT.lib. No reference is made to libeaymt64.lib or libssl64MT.lib,
from what I know at least. So I don't understand why I got these link
errors...

KR
Raymi



On Sat, Jul 8, 2017 at 12:01 PM, Richard Levitte <levitte at openssl.org>
wrote:

> Hi,
>
> In message <CANFqjkLsqy_2z7TvZhap+8xBvx8VKBnmkNuq0KY6iJ8m3f+DPw@
> 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/
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170708/bb4380e8/attachment.html>


More information about the openssl-users mailing list