[GH-ISSUE #10575] [linux][solveable] ImportError: libctranslate2-bc15bf3f.so.4.5.0: cannot enable executable stack as shared object requires: Invalid argument #15941

Closed
opened 2026-04-19 22:00:39 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @ProtoBelisarius on GitHub (Feb 22, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10575

Using the python package for open-webui - faster-whisper doesnt work or rather while it records the microphone, something after that breaks.

It can be fixed for now using patchelf instead of execstack as that didnt work for me.

Original solution here: https://github.com/OpenNMT/CTranslate2/issues/1849#issuecomment-2664106316

I used the following command to fix the problem for myself:

patchelf --clear-execstack /home/USERNAME/OpenWebUI/venv/lib/python3.11/site-packages/ctranslate2.libs/libctranslate2-bc15bf3f.so.4.5.0

Just find the path to your misbehaving file and use it instead of my command.

A PR that should fix this in ctranslate2 was submitted 3 days ago, but I dont know how long it takes until this is worked in, so I want to provide a solution here incase someone else stumbles over the issue.

Originally created by @ProtoBelisarius on GitHub (Feb 22, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/10575 Using the python package for open-webui - faster-whisper doesnt work or rather while it records the microphone, something after that breaks. It can be fixed for now using **patchelf** instead of execstack as that didnt work for me. Original solution here: https://github.com/OpenNMT/CTranslate2/issues/1849#issuecomment-2664106316 I used the following command to fix the problem for myself: `patchelf --clear-execstack /home/USERNAME/OpenWebUI/venv/lib/python3.11/site-packages/ctranslate2.libs/libctranslate2-bc15bf3f.so.4.5.0` Just find the path to your misbehaving file and use it instead of my command. A PR that should fix this in ctranslate2 was submitted 3 days ago, but I dont know how long it takes until this is worked in, so I want to provide a solution here incase someone else stumbles over the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15941