[issue18777] Cannot compile _ssl.c using openssl > 1.0

2018-02-21 Thread Dmitry Zotikov
Dmitry Zotikov added the comment: James, double check you specify the right path to the local system libraries. If the system is multilib, libssl resides in /usr/local/lib/hpux32 (64) and not in /usr/local/lib directly. -- nosy: +dmitry.zotikov

[issue18777] Cannot compile _ssl.c using openssl > 1.0

2016-11-30 Thread James Matthews
James Matthews added the comment: This is marked as fixed but am still seeing this error in 2.7.12 on HP-UX 11.31. /opt/hp-gcc64-4.7.1/bin/gcc -pthread -shared build/temp.hp-ux-B.11.31-9000-800-2.7/root/build/Python-2.7.12/Modules/_ssl.o -L/usr/local/lib -lssl -lcrypto -o

[issue18777] Cannot compile _ssl.c using openssl 1.0

2015-04-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18777 ___

[issue18777] Cannot compile _ssl.c using openssl 1.0

2014-05-14 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: -skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18777 ___ ___ Python-bugs-list

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-10-19 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18777 ___

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: Trent, can you have a look? There seems to be a hickup with the linker and dynamic loader. Python picks up the ssl libraries from /usr/lib instead of /usr/local/lib ld -b build/temp.hp-ux-B.11.31-ia64-3.4/home/cpython/cpython/Modules/_ssl.o

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-10-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: -giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18777 ___ ___

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-10-18 Thread Stefan Krah
Stefan Krah added the comment: The hpux bot fails at the compile stage: http://buildbot.python.org/all/builders/IA64%20HP-UX%2011iv3%20%5BSB%5D%203.x/builds/2152/steps/compile/logs/stdio ld -b

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-08-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Rather than removing the call to CRYPTO_set_id_callback, it seems we should replace it with CRYPTO_THREADID_set_callback: « CRYPTO_THREADID and associated functions were introduced in OpenSSL 1.0.0 to replace (actually, deprecate) the previous

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-08-19 Thread Christian Heimes
Christian Heimes added the comment: Something like that: static void _ssl_threadid_callback(CRYPTO_THREADID *id) { CRYPTO_THREADID_set_numeric(id, PyThread_get_thread_ident()); } CRYPTO_THREADID_set_callback(_ssl_threadid_callback); -- components: -Extension Modules stage: needs

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-08-19 Thread Christian Heimes
Christian Heimes added the comment: I'm going to work on a modified patch. -- assignee: - christian.heimes components: +Extension Modules ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18777

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-08-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, only with the proper #ifdef's :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18777 ___ ___

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-08-19 Thread Christian Heimes
Christian Heimes added the comment: patch -- Added file: http://bugs.python.org/file31374/18777.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18777 ___

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-08-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset f967ded6f9dd by Christian Heimes in branch '3.3': Issue #18777: The ssl module now uses the new CRYPTO_THREADID API of http://hg.python.org/cpython/rev/f967ded6f9dd New changeset 28e68f4807a2 by Christian Heimes in branch 'default': Issue #18777:

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-08-19 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18777 ___

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-08-18 Thread Vitaly Murashev
New submission from Vitaly Murashev: Cannot compile _ssl module when openssl version 1.0 and it is configured with turned on macro OPENSSL_NO_DEPRECATED Everything looks like in recent versions of openssl routine 'CRYPTO_set_id_callback' has gone away. Patch suggested. --