[Python-Dev] Re: compiled python3.10 is unable to find _ssl

2022年5月25日 10:10:31 -0700

I should have mentioned, earlier I made these changes to Setup
2022年05月22日 14:54 vim /home/lking/python/Python-3.10.4/Modules/Setup
 207c207
 < #_socket socketmodule.c
 ---
 > _socket socketmodule.c
 211,217c211,217
 < # OPENSSL=/path/to/openssl/directory
 < # _ssl _ssl.c \
 < # -I$(OPENSSL)/include -L$(OPENSSL)/lib \
 < # -lssl -lcrypto
 < #_hashlib _hashopenssl.c \
 < # -I$(OPENSSL)/include -L$(OPENSSL)/lib \
 < # -lcrypto
 ---
 > OPENSSL=/usr/local/custom-openssl
 > _ssl _ssl.c \
 > -I$(OPENSSL)/include -L$(OPENSSL)/lib \
 > -lssl -lcrypto
 > _hashlib _hashopenssl.c \
 > -I$(OPENSSL)/include -L$(OPENSSL)/lib \
 > -lcrypto
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/B4QRCLBVYGFJ62DRRFVINULYYA6E3NCX/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to