[TOC]
依赖
yum install gcc make automake autoconf cmake zlib zlib-devel libffi libffi-devel deltarpm zlib-devel bzip2-devel openssl openssl-devel openssl-static ncurses-devel sqlite-devel readline readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libsqlite3-dev ncurses ncurses-devel xz lzma xz-devel libxml2-devel libxslt-devel
[root@localhost]# openssl version -a
[root@localhost build]# ../configure --prefix=/opt/python38 --enable-shared --enable-optimizations --with-libs='/usr/lib64/libcrypto.so /usr/lib64/libssl.so' --with-ssl-default-suites=openssl --disable-ipv6
[root@localhost build]# make && make install
https://blog.csdn.net/angeljanne87/article/details/80994983
https://blog.csdn.net/zr1076311296/article/details/75136612
https://blog.csdn.net/learner198461/article/details/54598895
网友评论