orange-nightfall-56903
10/08/2025, 1:29 PMghcr.io/astral-sh/uv:python3.10-bookworm-slim). The build consistently fails during the uv run main.py download-files step with the following traceback:
OSError: /app/.venv/lib/python3.10/site-packages/livekit/rtc/resources/liblivekit_ffi.so: undefined symbol: __isoc23_strtoll
This happens right after dependencies are installed successfully. Full context from the build log:
Traceback (most recent call last):
File "/app/main.py", line 13, in <module>
from livekit.agents import (...)
...
File "/app/.venv/lib/python3.10/site-packages/livekit/rtc/_ffi_client.py", line 58, in get_ffi_lib
return ctypes.CDLL(str(path))
OSError: /app/.venv/lib/python3.10/site-packages/livekit/rtc/resources/liblivekit_ffi.so: undefined symbol: __isoc23_strtoll
Environment details:
• Base image: ghcr.io/astral-sh/uv:python3.10-bookworm-slim
• OS: Debian Bookworm (from uv image)
• Command failing: RUN uv run main.py download-files
• Python: 3.10.15
• LiveKit packages are installed via pyproject (latest release of livekit-agents)
What we’ve tried:
• Verified that the same Dockerfile worked earlier this week (Oct 4 build succeeded)
• Confirmed liblivekit_ffi.so is being downloaded correctly, but runtime symbol resolution fails
• Rebuilding with Python 3.11 also fails earlier due to av==16.0.0 wheel compatibility
Seems like the precompiled FFI library might have been built with a newer glibc or compiler version (introducing __isoc23_strtoll which is missing in Bookworm’s runtime).
Could you please confirm if the current liblivekit_ffi.so builds are backward-compatible with Debian Bookworm / Python 3.10 base images, or recommend the correct base image / Python combo we should use for LiveKit Agents?aloof-scooter-47164
10/08/2025, 10:25 PMgentle-refrigerator-18414
10/08/2025, 10:27 PMdazzling-autumn-68753
10/09/2025, 1:00 AMdazzling-autumn-68753
10/09/2025, 1:06 AMdazzling-autumn-68753
10/09/2025, 4:10 PMdazzling-autumn-68753
10/10/2025, 3:04 AMliblivekit_ffi.so file in your Docker image with the one attached.