openssl / openssl

TLS/SSL and crypto library
https://www.openssl.org
Apache License 2.0
25.42k stars 10.06k forks source link

Static libraries not installed on Windows #12358

Open SylvainCorlay opened 4 years ago

SylvainCorlay commented 4 years ago

When building and installing OpenSSL on windows with the following steps, the static libraries (libcrypto_static.lib and libssl_static.lib) are not installed, unlike shared objects, import libraries and headers, which are properly installed in the expected locations.

perl configure VC-WIN64A --prefix=%LIBRARY_PREFIX% --openssldir=%LIBRARY_PREFIX%
nmake
nmake install

However, I can see that the static libraries are produced at build time, but there does not seem to be a rule for installing them.

I am seeing this behavior on 1.1.1g, and earlier versions as well.

SylvainCorlay commented 4 years ago

I came across this issue when working on the OpenSSL conda package, and working around it by manyally copying the built static library to PREFIX/lib.

MarleTangible commented 1 year ago

Pymssql uses Choco to install OpenSSL and @PrimozGodec found out that it now installs to a different location. Could that be the issue here as well?

x86 -> "c:/Program Files (x86)/OpenSSL-Win32/lib"
x64 -> "c:/Program Files/OpenSSL-Win64/lib"
nhorman commented 3 months ago

Marking as inactive to be closed at the end of 3.4 dev, barring further input