On 21/10/15 03:18, Erik Trauschke wrote:
> I would add a run path to your LDFLAGS, this way you can be sure it
> picks up the correct OpenSSL library if your library search paths are
> not set to the right value by crle or things like LD_LIBRARY_PATH.
> 
> You can do that by adding -R/path/to/lib to LDFLAGS.

Good point. I don't need it because my particular configuration, but it
is something to document somewhere.

"""
$ ldd
/usr/local/lib/python3.5/site-packages/cryptography/hazmat/bindings/_openssl.so

        libssl.so.1.0.0 =>       /usr/local/ssl/lib//libssl.so.1.0.0
        libcrypto.so.1.0.0 =>    /usr/local/ssl/lib//libcrypto.so.1.0.0
        libpython3.5m.so.1.0 =>  /usr/local/lib/libpython3.5m.so.1.0
...
"""

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
j...@jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:j...@jabber.org  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Cryptography-dev mailing list
Cryptography-dev@python.org
https://mail.python.org/mailman/listinfo/cryptography-dev

Reply via email to