[issue44319] setup openssl failed on linux

2021-11-10 Thread Christian Heimes


Christian Heimes  added the comment:

Update:

I came up with a hack that lets you use the openssl11 module from EPEL with 
Python:

https://discuss.python.org/t/modulenotfounderror-no-module-named-mysql-in-python-3-10-0-default-nov-6-2021-1425-gcc-4-8-5-20150623-red-hat-4-8-5-44-on-linux/11823/5?u=tiran

sed -i 's/PKG_CONFIG openssl /PKG_CONFIG openssl11 /g' configure

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44319] setup openssl failed on linux

2021-11-04 Thread Christian Heimes


Christian Heimes  added the comment:

/usr/lib64/openssl11 is not a valid OpenSSL root directory. The option expects 
an OpenSSL installation directory with bin, lib, and include subdirectories. 
The custom scheme from CentOS EPEL openssl11 package is not supported.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44319] setup openssl failed on linux

2021-10-25 Thread Devin Prescott


Devin Prescott  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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com