[issue44319] setup openssl failed on linux
Devin Prescott
report at bugs.python.org
Mon Oct 25 10:07:16 EDT 2021
Devin Prescott <devincprescott at gmail.com> added the comment:
This docker file will get you the same environment:
## Build Command ##
# docker build --rm -t centos7/builder .
## Run Command ##
# docker run --rm -it centos7/builder
# INSIDE DOCKER:
# make -j $(nproc)
FROM centos:7
###################################
## Update & Get Dependencies ##
###################################
RUN yum -y update
RUN yum -y install deltarpm epel-release
RUN yum -y groups install Development\ Tools
RUN yum -y install libtemplate-perl wget make gcc perl-core pcre-devel zlib-devel
RUN yum -y install libffi-devel bzip2-devel pkgconfig
RUN yum install -y openssl11 openssl11-devel openssl11-libs openssl11-static
RUN mkdir -p /home/builder
WORKDIR /home/builder
###################################
## Enable SCL Dev Toolset8 ##
###################################
RUN yum -y install centos-release-scl
RUN yum-config-manager --enable rhel-server-rhscl-7-rpms
RUN yum -y install devtoolset-8
RUN scl enable devtoolset-8 bash
###################################
## Prep Build for Python-3 ##
###################################
RUN wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz
RUN tar xzf Python-3.10.0.tgz
WORKDIR Python-3.10.0
RUN /home/builder/Python-3.10.0/configure --enable-optimizations --with-lto --with-system-ffi --with-computed-gotos --enable-loadable-sqlite-extensions --with-openssl=/usr/lib64/openssl11 --with-openssl-rpath=auto
----------
title: setup openssl faild on linux (ubuntu 20.04) -> setup openssl failed on linux
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44319>
_______________________________________
More information about the Python-bugs-list
mailing list