Skip to content
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

Difference in binary outputs in openssl package between Linux and Windows #29400

Closed
wesSTILMAN opened this issue Feb 2, 2023 · 5 comments
Closed
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@wesSTILMAN
Copy link

wesSTILMAN commented Feb 2, 2023

We have observed a difference between the build artifacts produced for the openssl package between Linux and Windows. On windows, someone may type:

c:\vcpkg>vcpkg install openssl

And in this location:

C:\vcpkg\installed\x64-windows\tools\openssl

The following artifacts will be seen:
openssl.exe
libcrypto-3-x64.dll
libssl-3-x64.dll

But on Linux, running:

./vcpkg install openssl

Does not even create an openssl folder in installed/x64-linux/tools.

Searching the entire drive I only see the openssl executable put there by the system repo manager. Is there a reason these things are not build on Linux?

Operating systems used: Windows 10 22H2, and RedHat 8 ( Linux 4.18.0-425.3.1.el8.x86_64).

@dg0yt
Copy link
Contributor

dg0yt commented Feb 2, 2023

Would this help? #27261

My x64-linux installation has:

$ find installed/x64-linux/tools/openssl
installed/x64-linux/tools/openssl
installed/x64-linux/tools/openssl/openssl
installed/x64-linux/tools/openssl/c_rehash

@MonicaLiu0311 MonicaLiu0311 added the category:port-bug The issue is with a library, which is something the port should already support label Feb 3, 2023
@wesSTILMAN
Copy link
Author

Would this help? #27261

My x64-linux installation has:

$ find installed/x64-linux/tools/openssl
installed/x64-linux/tools/openssl
installed/x64-linux/tools/openssl/openssl
installed/x64-linux/tools/openssl/c_rehash

Indeed this does seem to help. The unified configuration also makes it much easier for us to synchronize instructions between platforms. Already, we have been able to confirm creation of the openssl executable using this PR. We have added enable-fips to CONFIGURE_OPTIONS and are currently trying to get that working, which was also failing in the trunk.

@MonicaLiu0311
Copy link
Contributor

MonicaLiu0311 commented Apr 20, 2023

#27261 has been merged, if it is still an issue, please reopen this issue.

@wesSTILMAN
Copy link
Author

wesSTILMAN commented Apr 20, 2023 via email

@dg0yt
Copy link
Contributor

dg0yt commented Apr 20, 2023

FYI FIPS support is coming: #30916

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

No branches or pull requests

3 participants