16 views
-/https://github.com/berriai/litellm/issues/18598
GitHub · issue

#18598 [Bug]: Cannot load library 'libsndfile.so'

  • State: open
  • Author: @GeorgelPreput
  • Labels: bug, llm translation, SDK

### What happened?

Running LiteLLM through Docker (`ghcr.io/berriai/litellm-database:main-stable` at the time of opening the bug; same image as tag `main-v1.80.8-stable.1`), I tried setting up the `gpt-4o-transcribe-diarize` model. Settings were:

**Provider:** OpenAI **LiteLLM Model Name(s):** gpt-4o-transcribe-diarize **Model Mappings:** - **Public Model Name:** gpt-4o-transcribe-diarize - **LiteLLM Model Name:** gpt-4o-transcribe-diarize **Mode:** Audio Transcription - /audio/transcriptions **Existing Credentials:** OpenAI

Upon clicking the **Test Connect** button, I got the error that `libsndfile.so` could not be found, leading to the `_soundfile_data` module not loading either.

Could you please ensure that the proper system libraries are installed in the Docker image?

### Relevant log output

```shell litellm.APIConnectionError: APIConnectionError: OpenAIException - cannot load library 'libsndfile.so': libsndfile.so: cannot open shared object file: No such file or directory stack trace: Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/soundfile.py", line 161, in <module> import _soundfile_data # ImportError if this doesn't exist ^^^^^…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d18h31m28s ago — entered · #import:https:::github.com:berriai:litellm post #2363
The right-side change has greater engineering scope: it requires protocol-aware pagination behavior, preserving or translating continuation state, endpoint compatibility decisions, and integration coverage across proxy paths. The left-side change is comparatively localized to container dependency packaging and validation.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search