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.pc missing -lcrypt32 #4821

Open
jeroen opened this Issue Jan 2, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@jeroen
Copy link
Contributor

jeroen commented Jan 2, 2019

Static linking openssl 1.1 fails because the openssl.pc files does not contain -lcrypt32:

_64-w64-mingw32/8.2.0/../../../../lib/libcrypto.a(e_capi.o):(.text+0x353f): undefined reference to `__imp_CertCloseStore'
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/libcrypto.a(e_capi.o):(.text+0x3559): undefined reference to `__imp_CertEnumCertificatesInStore'
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/libcrypto.a(e_capi.o):(.text+0x3c4a): undefined reference to `__imp_CertOpenStore'
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/libcrypto.a(e_capi.o):(.text+0x3cbb): undefined reference to `__imp_CertFreeCertificateContext'
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/libcrypto.a(e_capi.o):(.text+0x3cc6): undefined reference to `__imp_CertCloseStore'
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/libcrypto.a(e_capi.o):(.text+0x3de0): undefined reference to `__imp_CertFreeCertificateContext'
C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/libcrypto.a(e_capi.o):(.text+0x3e7d): undefined reference to `__imp_CertFreeCertificateContext'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment