[issue43466] ssl/hashlib: Add configure option to set or auto-detect rpath to OpenSSL libs

Pablo Galindo Salgado report at bugs.python.org
Wed Mar 10 19:15:03 EST 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

> The problem is that some features are not baked into the .a files. 

Oh, I see. So when using modern versions of openssl what shared objects do we expect to be in the NEEDED section? Right now, I see this in python3.8 in Ubuntu with OpenSSL 1.1.1:

❯ ldd /usr/lib/python3.8/lib-dynload/_ssl.cpython-38-x86_64-linux-gnu.so
        linux-vdso.so.1 (0x00007ffcf71ef000)
        libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007fe8782b6000)
        libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007fe877deb000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe877bcc000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe8777db000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe8775d7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe87876e000)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43466>
_______________________________________


More information about the Python-bugs-list mailing list