Skip to content
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

_Stretch.so file not found #9

Open
vishjain opened this issue Apr 10, 2024 · 1 comment
Open

_Stretch.so file not found #9

vishjain opened this issue Apr 10, 2024 · 1 comment

Comments

@vishjain
Copy link

vishjain commented Apr 10, 2024

I ran a linux docker image where I was using audiostretchy package and got this error:

translation-audio-worker-1 | File "/app/libs/voice_clone.py", line 6, in
translation-audio-worker-1 | from audiostretchy.stretch import stretch_audio
translation-audio-worker-1 | File "/usr/local/lib/python3.10/site-packages/audiostretchy/stretch.py", line 9, in
translation-audio-worker-1 | from .interface.tdhs import TDHSAudioStretch
translation-audio-worker-1 | File "/usr/local/lib/python3.10/site-packages/audiostretchy/interface/tdhs.py", line 35, in
translation-audio-worker-1 | stretch_lib = ctypes.cdll.LoadLibrary(str(lib_path))
translation-audio-worker-1 | File "/usr/local/lib/python3.10/ctypes/init.py", line 452, in LoadLibrary
translation-audio-worker-1 | return self._dlltype(name)
translation-audio-worker-1 | File "/usr/local/lib/python3.10/ctypes/init.py", line 374, in init
translation-audio-worker-1 | self._handle = _dlopen(self._name, mode)
translation-audio-worker-1 | OSError: /usr/local/lib/python3.10/site-packages/audiostretchy/interface/linux/_stretch.so: cannot open shared object file: No such file or directory

How can I fix this such that it works? The audiostretchy package was working on Mac, so it must be an OS / system package issue.

Ran an ldd in the machine and got: not a dynamic executable

@twardoch

@Thomcle
Copy link

Thomcle commented Jun 5, 2024

Same error here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants