New submission from Pablo Galindo Salgado <pablog...@gmail.com>:

Running ctypes.util.find_library with gcc-9, if ldconfig is not available, it 
falls back to check the output of gcc -Wl,-t -lc to locate the library and then 
runs objdump on the file it's found to parse out the SONAME. With the gcc-9 the 
output of that gcc command is slightly perturbed so that /lib64/libc.so is 
listed before /libc64/libc.so.6. The former is a linker script not and ELF file 
so objdump fails.

----------
assignee: pablogsal
components: ctypes
messages: 378258
nosy: pablogsal
priority: normal
severity: normal
status: open
title: ctypes.util.find_library fails with gcc 9
versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41976>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to