This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hairygristle
Recipients bkline, chris.jerdonek, christian.heimes, fthommen, hairygristle, kscheidegger, simon@simonfoley.net
Date 2019-04-04.17:11:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554397879.2.0.0970169225713.issue34028@roundup.psfhosted.org>
In-reply-to
Content
OS: RHEL 6.8

I installed OpenSSL 1.1.1b from source into /usr/local. Because it's RHEL, the libs are in /usr/local/lib64 (as set up by default with the OpenSSL "make install") which the configure script does not seem to know about.

My workaround: before running configure for Python, set the environment variable:

LDFLAGS="-L/usr/local/lib -L/usr/local/lib64 -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib64"

Once that is set, configure manages to find the proper libssl:

checking for openssl/ssl.h in /usr/local... yes
checking whether compiling and linking against OpenSSL works... yes
checking for X509_VERIFY_PARAM_set1_host in libssl... yes
History
Date User Action Args
2019-04-04 17:11:19hairygristlesetrecipients: + hairygristle, christian.heimes, bkline, chris.jerdonek, simon@simonfoley.net, fthommen, kscheidegger
2019-04-04 17:11:19hairygristlesetmessageid: <1554397879.2.0.0970169225713.issue34028@roundup.psfhosted.org>
2019-04-04 17:11:19hairygristlelinkissue34028 messages
2019-04-04 17:11:19hairygristlecreate