Christian Heimes <li...@cheimes.de> added the comment:

--with-openssl only sets the header location for the pre-processor and library 
path for the dynamic linker. It does *not* affect the search and lookup paths 
of the dynamic loader! If you have installed OpenSSL in a non-standard location 
then you need to tell the dynamic loader how to load the shared libraries. This 
can be done in three ways:

* configure the dynamic loader globally in /etc/ld.so.conf (not advised for 
custom OpenSSL)
* Add a rpath to the ELF header of _ssl and _hashlib extensions at link time. 
This can be accomplished by setting LD_RUN_PATH=/path/to/lib or 
LDFLAGS=-Wl,-rpath,/path/to/lib
* Add the shared library directory to the runtime lookup path of ld.so by 
setting LD_LIBRARY_PATH env var.

----------

_______________________________________
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