linux安装python3.7.3时关于Libressl2.7.4的问题

为避免安装出现这样的情况,谨以此安装经验为戒
已经安装成功libressl2.7.4
linux安装python3.7.3时关于Libressl2.7.4的问题
linux安装python3.7.3时关于Libressl2.7.4的问题
make时,出现error “LibreSSL is missing X509_VERIFY_PARAM_set1_host()”
看着像是不兼容,之前设置了临时环境变量:
export LDFLAGS=”-L/usr/local/libressl/lib”
export CPPFLAGS="-I/usr/local/libressl/include -I/usr/local/libressl/include/openssl"
export PKG_CONFIG_PATH=”/usr/local/libressl/lib/pkgconfig”
export LD_LIBRARY_PATH="/usr/local/libressl/lib"
但是还是出错,解决方法是:
./configure --prefix=/data/OSS_WYPT/software/python3 --with-openssl=/usr/local/libressl