x-tile
x-tile copied to clipboard
libc.prctl not available
The following warning appears while launching x-tile:
libc.prctl not available, the process name will be python and not x-tile
i tried by manually issuing commands in python3, here is what i got:
>>> import ctypes.util
>>> ctypes.util.find_library("libc")
Traceback (most recent call last):
[...]
FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'
also tried this with no success:
libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library("libc.so.6"))
this is the line that fixes it and works properly:
libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library("c"))
can the code be modified to the line above? see similar issue: https://github.com/python/cpython/issues/86746