Hergen Lange <hergen.la...@me.com> 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42896>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to