Re: MSVC Compiling OpenSSL on Windows 64 issues with missing libs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, I meant no reference to libeaymt64.lib or ssleaymt64.lib

On Sat, Jul 8, 2017 at 12:20 PM, Raymi Coevan <raymi.coevan@xxxxxxxxx> wrote:
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@xxxxxxxxxxx> wrote:
Hi,

In message <CANFqjkLsqy_2z7TvZhap+8xBvx8VKBnmkNuq0KY6iJ8m3f+DPw@mail.gmail.com> on Sat, 8 Jul 2017 11:19:57 +0200, Raymi Coevan <raymi.coevan@xxxxxxxxx> 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@xxxxxxxxxxx
OpenSSL Project         http://www.openssl.org/~levitte/
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux