-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openssl wrap doesn't build on windows (vs via ninja) #181
Comments
The good news is we now have Windows CI, so if someone does an update of openssl wrap it will be tested this time. |
Is it MSVC's linker? I'm running Windows builds on CI without problems, but I had to make GNU linker unavailable for MSVC builds or else it didn't work together |
On 2021-10-06 08:52:12 -0700, Nazar Mokrynskyi wrote:
Is it MSVC's linker? I'm running Windows builds on CI without problems, but I had to make GNU linked unavailable for MSVC builds.
yes, it was MSVC's linker.
|
I can confirm, the issue is the generator script configure openssl with |
Any updates on this? |
Good to know, that I'm not the only one with this problem! @xclaesse You mentioned some things in your reply from nearly a year ago. Could you elaborate on the issues ... I am very willing to try my hands on this, but I could use some starters ... Thanks! :) |
I have a version ready for public consumption, I'll update it to 1.1.1q and fix #428 before linking it here. |
@punytroll @jfinkhaeuser, I've made a custom wrap for OpenSSL 1.x based on the existing version for v3. Mine improves the following bits:
The latter was a longstanding TODO since 7dfccc1. You'll find the wrap in this branch and the release here. I'm not sure if/how I could upstream it here, given that wrapdb has already moved to the 3.x branch. |
Thank you, I'll check it out! |
Any udpates on that? got into similar stuff while building a project, and i see it's not closed yet |
Would be fixed by #1283. |
MSVC needs a way of knowing which symbols are supposed to be exported, otherwise it does not create a DLL. This means the wrap was previously unusable as a shared library. The OpenSSL build process does that by passing a `.def` file to the linker. This reimplements OpenSSL's `util/mkdef.pl` script to make the meson build do the same as the normal build process. Fixes mesonbuild#181.
MSVC needs a way of knowing which symbols are supposed to be exported, otherwise it does not create a DLL. This means the wrap was previously unusable as a shared library. The OpenSSL build process does that by passing a `.def` file to the linker. This reimplements OpenSSL's `util/mkdef.pl` script to make the meson build do the same as the normal build process. Fixes mesonbuild#181.
MSVC needs a way of knowing which symbols are supposed to be exported, otherwise it does not create a DLL. This means the wrap was previously unusable as a shared library. The OpenSSL build process does that by passing a `.def` file to the linker. This reimplements OpenSSL's `util/mkdef.pl` script to make the meson build do the same as the normal build process. Fixes #181.
MSVC needs a way of knowing which symbols are supposed to be exported, otherwise it does not create a DLL. This means the wrap was previously unusable as a shared library. The OpenSSL build process does that by passing a `.def` file to the linker. This reimplements OpenSSL's `util/mkdef.pl` script to make the meson build do the same as the normal build process. Fixes mesonbuild#181.
Hi,
As far as I can tell the reason for the failure to build is that the buildsystem contained in the wrap doesn't take care of exporting symbols. Due to that link.exe doesn't produce an import library, which then causes this issue.
CC: @nazar-pc
Regards,
Andres
The text was updated successfully, but these errors were encountered: