It turns out the one problem was being caused by the manual change to Makefile 
I made at 2022-05-23 11:35.

My build goes through now by prefixing after 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/custom-openssl/lib after sudo, as 
the root account was not getting this environment variable.

Having said that, while the dynamic load library now gets built correctly (it 
wasn't with the Makefile change), I still see the same symptom. Will continue 
to debug.

I now see 

$ ls  /usr/local/python-3.10.4/lib/python3.10/lib-dynload/*_ssl*
/usr/local/python-3.10.4/lib/python3.10/lib-dynload/_ssl.cpython-310-x86_64-linux-gnu.so

but still see 

$ python3.10
 Python 3.10.4 (main, May 15 2022, 12:44:05) [GCC 4.8.5 20150623 (Red Hat 
4.8.5-44)] on linux 
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import ssl
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/local/lib/python3.10/ssl.py", line 98, in <module>
     import _ssl             # if we can't import it, let the error propagate
 ModuleNotFoundError: No module named '_ssl'
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/ORCFZOHP5M46LWUB7BTVG2H2JVHDTC6X/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to