threadpoolctl
threadpoolctl copied to clipboard
Fails on FreeBSD: ld-elf.so.1: Can't find module with TLS index 1
This code:
from threadpoolctl import threadpool_info
from pprint import pprint
pprint(threadpool_info())
fails on FreeBSD 13:
ld-elf.so.1: Can't find module with TLS index 1
@jeremiedbb
Hi,
Do you have any idea why does threadpoolctl fail on FreeBSD?
Thanks, Yuri
Hi @yurivict, sorry for the late answer, I didn't see your issue. I have no idea why it's failing like that, but you'll probably have better chances in the issue that you just opened on cpython https://github.com/python/cpython/issues/92828.
Is this raising a catchable Python exception or directly crashing the Python interpreter?
Program exits with exit code 1 after the failure message. It doesn't crash.
Did you manage to solve this problem? If so, how?
Hi.
According to the discussion in https://github.com/python/cpython/issues/92828 It seems my fix will no longer be needed in FreeBSD 14.
Regards, Pawel