-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python ctranslate2 breaks with glibc 2.41: cannot enable executable stack #1849
Comments
same with python 3.10, uv and glibc 2.41 |
I've got the same error with python 3.12.8, and also glibc 2.41(+r2+g0a7c7a2e283a-1). This said, the stable (and Arch Electron) version(s) of Discord was hit with the exact error issue recently. It affected the voice chat component and made it so Discord couldn't access your mic info. I'm guessing the same dependency affected them both. That said, the AUR indicates that vanilla Discord doesn't use Python. The only non-optional shared dependency I'm seeing between vanilla Discord and the Arch Electron version is libxss... which is downstream from glibc. I'm thinking maybe they need some info, if they don't have it already. 😅 |
Same here in Arch Linux with Python 3.12.8 and glibc 2.41+r2+g0a7c7a3e283a-1 ImportError: libctranslate2-bc15bf3f.so.4.5.0: cannot enable executable stack as shared object requires: Invalid argument Downgrading to glibc-2.40-1 temporary addresses the issue: pacman -U https://archive.archlinux.org/packages/g/glibc/glibc-2.40-1-x86_64.pkg.tar.zst \
https://archive.archlinux.org/packages/l/lib32-glibc/lib32-glibc-2.40-1-x86_64.pkg.tar.zst |
same issue on arch with python 3.10 but downgrading solved it |
Fwiw, another likely workaround would be to use
|
Normally, downgrading such a package is not a good idea, as it may prevent your system from booting. |
I attempted this, but the same error was returned upon running. |
this works for me! Thank you. Make sure to replace |
I believe my PR at #1852 is finally ready, which should fix this issue on Linux. Hopefully someone will find time to take a look at it. |
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:
Trying to clear the execstack flag leads to this other error:
Maybe related to #1698
The text was updated successfully, but these errors were encountered: