Malek Ghantous <malek.ghant...@gmail.com> added the comment:

I'm having a similar problem.  I'm trying to compile on Red Hat 6.9 using a 
locally installed OpenSSL library.  I've tried everything here (I think) and I 
still get this error:

checking for openssl/ssl.h in /home/mf/dp/mpma/ghantousm/apptron/local/... yes  
 
checking whether compiling and linking against OpenSSL works... no              
 
checking for --with-ssl-default-suites... python                                
 

I've ensured the libssl.* files are all present or linked to in 
/home/mf/dp/mpma/ghantousm/apptron/local/lib and .../lib64, the include files 
are present, the OpenSSL build seemed fine, and I compiled version 1.1.1d of 
openssl.  I've tried setting LDFLAGS and rpath and still no dice; the setup.py 
module doesn't seem to have any hard-coded paths so I'm really at a loss to 
understand what is wrong.  I've tried both versions 3.8.0 and 3.7.3 of python 
with the --with-openssl=/home/mf/dp/mpma/ghantousm/apptron/local option set, 
and version 3.6.8 (which doesn't accept any ssl related options).

This bug seems to have been preserved for a number of versions, so I'd like to 
help squash it if I can, but not sure where to go to from here.  I notice that 
some of the reports here suggest that they've had success with work-arounds, 
but as I stated none of them seem to work for me and I'm unable to compile with 
ssl support.

----------
nosy: +malektronic
type:  -> compile error
versions: +Python 3.8 -Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34028>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to