New submission from Tarnum <tar...@fipi.org>:

Hello! I'm using specifically crafted Python 3.7.1 for NT 5.2 x86 (Server 2003 
R2) and cannot upgrade Python to later versions.
I always building OpenSSL myself using compatible version of MSYS2 with perl 
5.22.
Compiled DLLs of OpenSSL 1.1.1k works fine for me (libcrypto-1_1.dll and 
libssl-1_1.dll in C:\Python37\DLLs\).
But when I try building OpenSSL 3.0.0 alpha 16 (repacing libcrypto-3.dll with 
libcrypto-1_1.dll and libssl-3.dll with libssl-1_1.dll in
Makefile and util\mkdef.pl) I got this error because of OpenSSL 3.0 backwards 
incompatibility:

import ssl
File "C:\Python37\lib\ssl.py", line 98, in <module>
import _ssl (C:\Python37\DLLs\_ssl.pyd) # if we can't import it, let the error 
propagate
ImportError: DLL load failed: The specified procedure could not be found.

What could I do to fix it? Thanks in advance!

----------
assignee: christian.heimes
components: SSL, Windows
messages: 393711
nosy: Tarnum, christian.heimes, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Getting error while importing ssl "import _ssl ImportError: DLL load 
failed: The specified procedure could not be found."
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44141>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to