[python27 0005341]: /opt/csw/lib/python2.7/ctypes/util.py exception in Solaris 11.4

Mantis Bug Tracker noreply at opencsw.org
Thu Aug 10 16:20:24 CEST 2023


The following issue has been SUBMITTED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5341 
====================================================================== 
Reported By:                rselas
Assigned To:                
====================================================================== 
Project:                    python27
Issue ID:                   5341
Category:                   
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2023-08-10 16:20 CEST
Last Modified:              2023-08-10 16:20 CEST
====================================================================== 
Summary:                    /opt/csw/lib/python2.7/ctypes/util.py exception in
Solaris 11.4
Description: 
The module ctypes.util crash in function _findLib_crle due to changes in
crle output:

Solaris 11.3:

Default configuration file (/var/ld/64/ld.config) not found
  Platform:     64-bit MSB SPARCV9
  Default Library Path (ELF):   /lib/64:/usr/lib/64  (system default)
  Trusted Directories (ELF):    /lib/secure/64:/usr/lib/secure/64  (system
default) 


Solaris 11.4

Default configuration file (/var/ld/ld.config) not found
    Platform:   32-bit MSB SPARC
    Default Library Path:       /lib:/usr/lib  (system default)
    Trusted Directories:        /lib/secure:/usr/lib/secure  (system
default) 


The _find_crle is looking for the string: 'Default Library Path (ELF):',

    194             for line in os.popen(cmd).readlines():
    195                 line = line.strip()
    196                 if line.startswith('Default Library Path (ELF):'):
    197                     paths = line.split()[4]


so in 11.4 fails.


======================================================================



More information about the bug-notifications mailing list