Message382592
regression compared to 3.8:
$ python3.9
Python 3.9.1rc1 (default, Nov 27 2020, 19:38:39)
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> ctypes.util.find_library("libc")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'ctypes' is not defined
>>> import ctypes.util
>>> ctypes.util.find_library("libc")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.9/ctypes/util.py", line 341, in find_library
_get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))
File "/usr/lib/python3.9/ctypes/util.py", line 147, in _findLib_gcc
if not _is_elf(file):
File "/usr/lib/python3.9/ctypes/util.py", line 99, in _is_elf
with open(filename, 'br') as thefile:
FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'
also note that the shared library is installed. |
|
Date |
User |
Action |
Args |
2020-12-06 10:50:33 | doko | set | recipients:
+ doko |
2020-12-06 10:50:33 | doko | set | messageid: <1607251833.68.0.530621101082.issue42580@roundup.psfhosted.org> |
2020-12-06 10:50:33 | doko | link | issue42580 messages |
2020-12-06 10:50:32 | doko | create | |
|