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

QtNetwork: Missing OpenSSL 1.1 DLLs on 64bit Windows #4321

Closed
The-Compiler opened this issue Jul 18, 2019 · 1 comment
Closed

QtNetwork: Missing OpenSSL 1.1 DLLs on 64bit Windows #4321

The-Compiler opened this issue Jul 18, 2019 · 1 comment

Comments

@The-Compiler
Copy link
Contributor

With these versions:

  • PyInstaller 3.5 or develop branch
  • Python 3.7.4 (64-bit)
  • Windows 10
  • PyQt5 5.12.3 (Qt 5.12.4) or 5.13.0 (Qt 5.13.0)

When trying to build this example:

# workaround for #4293
import os, sys
if hasattr(sys, '_MEIPASS'):
    os.environ['PATH'] += os.pathsep + sys._MEIPASS

from PyQt5.QtNetwork import QSslSocket
print(QSslSocket.supportsSsl())

I get False.

This is due to a missing libssl-1_1-x64.dll and libcrypto-1_1-x64.dll in the dist directory. When I copy them over from site-packages\PyQt5\bin, everything works fine.

Those seem to be 64bit-specific. PyInstaller does copy the DLLs without the -x64 suffix, and those work fine with a 32-bit Python.

@bjones1
Copy link
Contributor

bjones1 commented Aug 2, 2019

@The-Compiler, thanks for finding the root cause. That was a big help in fixing it. I appreciate it. This is fixed in 47bd7f1.

@bjones1 bjones1 closed this as completed Aug 2, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants