After upgrading to glibc==2.41, ctranslate2 now stopped working with Python 3.12.8.
After installing it and trying to import it, I'm met with the following:
import ctranslate2
Traceback (most recent call last ):
File "<stdin>" , line 1 , in < module >
File "/home/igor/.cache/pypoetry/virtualenvs/ctranslate-_DJS7Z3B-py3.12/lib/python3.12/site-packages/ctranslate2/__init__.py" , line 21 , in < module >
from ctranslate2 ._ext import (
ImportError : libctranslate2 - bc15bf3f .so .4.5 .0 : cannot enable executable stack as shared object requires : Invalid argument
Trying to clear the execstack flag leads to this other error:
$ execstack -c /home/igor/.local/lib/python3.12/site-packages/ctranslate2.libs/libctranslate2-bc15bf3f.so.4.5.0
execstack: /home/igor/.local/lib/python3.12/site-packages/ctranslate2.libs/libctranslate2-bc15bf3f.so.4.5.0: section file offsets not monotonically increasing
Maybe related to #1698
👍 React with 👍 17A-Metaphysical-Drama, aurelg, gulldan, nszceta, timursyrma and 12 more