[issue42896] Solaris 11.4 crle output not handled correctly
Hergen Lange added the comment: For python 3.8.7 should be: --- util.py.broken 2021-01-30 12:15:35.047669249 +0100 +++ util.py 2021-01-30 12:28:04.425931587 +0100 @@ -251,6 +251,9 @@ line = line.strip() if line.startswith(b'Default Library Path (ELF):'): paths = os.fsdecode(line).split()[4] +elif line.startswith(b'Default Library Path:'): +## allow for Solaris 11.4 output +paths = os.fsdecode(line).split()[3] if not paths: return None -- nosy: +hergen ___ Python tracker <https://bugs.python.org/issue42896> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42896] Solaris 11.4 crle output not handled correctly
Hergen Lange added the comment: Fix for python 3.8.7 Also added support for LD_CONFIG and LD_LIBRARY_PATH environment variables. Patch File: py387_ctypes_util.patch TEST successfull: /opt/python/lib/python3.8/ctypes$ python3 util.py libm.so.2 libc.so.1 libbz2.so.1 libx264.so.157 libcrypt.so.1 -- versions: -Python 3.10, Python 3.7, Python 3.9 Added file: https://bugs.python.org/file49780/py387_ctypes_util.patch ___ Python tracker <https://bugs.python.org/issue42896> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com