Anyone experiencing this issue? Changed nothing re...
# agents
a
Anyone experiencing this issue? Changed nothing relevant on the code but now the build is not working:
Copy code
6/6] RUN python main.py download-files:                                                                                                
0.292 Traceback (most recent call last):                                                                                                               
0.292   File "/app/main.py", line 23, in <module>                                                                                                      
0.292     from livekit.rtc import RemoteParticipant                                                                                                    
0.292   File "/usr/local/lib/python3.11/site-packages/livekit/rtc/__init__.py", line 41, in <module>                                                   
0.292     from .audio_frame import AudioFrame
0.292   File "/usr/local/lib/python3.11/site-packages/livekit/rtc/audio_frame.py", line 16, in <module>
0.292     from ._ffi_client import FfiHandle
0.292   File "/usr/local/lib/python3.11/site-packages/livekit/rtc/_ffi_client.py", line 61, in <module>
0.292     ffi_lib = get_ffi_lib()
0.292               ^^^^^^^^^^^^^
0.292   File "/usr/local/lib/python3.11/site-packages/livekit/rtc/_ffi_client.py", line 58, in get_ffi_lib
0.292     return ctypes.CDLL(str(path))
0.293            ^^^^^^^^^^^^^^^^^^^^^^
0.293   File "/usr/local/lib/python3.11/ctypes/__init__.py", line 376, in __init__
0.293     self._handle = _dlopen(self._name, mode)
0.293                    ^^^^^^^^^^^^^^^^^^^^^^^^^
0.293 OSError: /usr/local/lib/python3.11/site-packages/livekit/rtc/resources/liblivekit_ffi.so: undefined symbol: __isoc23_strtoll
------
failed to solve: process "/bin/sh -c python main.py download-files" did not complete successfully: exit code: 1
running on
Copy code
livekit-api==1.0.5
livekit-agents==1.2.6
livekit-protocol==1.0.4
livekit-plugins-silero==1.2.6
livekit-plugins-google==1.2.6
livekit-plugins-openai==1.2.6
livekit-plugins-deepgram==1.2.6
livekit-plugins-elevenlabs==1.2.6
livekit-plugins-turn-detector==1.2.6
But also tried updating to latest and nothing
found that i was not setting livekit version and you have an issue in the latest version. Just a heads up in case someone else have this issue
r
What os and architecture are you running on? Was the version that had the problem the one you reported above or is that what fixed it?
Also I do not see the livekit library version you were using in that list.
a
Since I didn’t put livekit version it went for latest and that caused the issue
r
but did you have livekit library in your requirements.txt?
I don't see the library in the library list you posted
Can you post the requirements.txt that caused the issue so I can try it
a
no I didnt, thats what i meant
r
oh ok. Yea you need to include that library or stuff won't work
a
Yes I did now, but I never ran on that issue thats why i might as well tell you in case theres some issue in the latest version of livekit
thanks
r
so you've never included livekit in your requirements and it worked for you in the past?
a
it was installed as a dependency of livekit-api or livekit-agent
r
ok, yea I guess it would always take latest in that case.
@ancient-judge-59849 What OS and arch are you running on?
a
Linux aarch64
👍🏼 1
It was happening locally when building the docker too
👍🏼 1
r
I was trying to reproduce this but can't get it to happen. Can you please share the output of
uname -a
and a requirements.txt that will reproduce the issue?
Would also be helpful to see the output of:
nm -D /lib/x86_64-linux-gnu/libc.so.6 | grep __isoc23_strtoll
and
ldd --version
a
Its happening installing livekit 1.0.16. When I run it locally In my macbook this are the specs: of uname -a
Copy code
Darwin ip-192-168-1-106.ec2.internal 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6041 arm64
hope that helps
r
oh, so it fails on Mac?
Above you had 1.2.6 but now you are using 1.0.16?
a
Sorry, i might have mispoke, it fails when building the docker locally. The docker build is linux/arm64. I said I had version 1.2.6 in livekit-agents but im telling you that in livekit im installing 1.0.16
and that causes the issue
uname -a
Copy code
Linux 3dd48687823a 6.10.14-linuxkit #1 SMP Mon Feb 24 16:35:16 UTC 2025 aarch64 GNU/Linux
ldd --version
Copy code
ldd (Debian GLIBC 2.36-9+deb12u3) 2.36
hope that helps
f
Any updates on this? Facing the same issue on livekit 1.0.16 and livekit-agents 1.2.14 on macos docker locally
r
This is fixed now right?
f
not for me at least no
a
try with livekit agents 1.2.12 and livekit 1.0.13
r
oh, can you try latest?
I think it was fixed in
1.2.15
a
Just tried with
Copy code
livekit==1.0.16
livekit-agents==1.2.15
livekit-plugins-deepgram==1.2.15
livekit-plugins-elevenlabs==1.2.15
livekit-plugins-google==1.2.15
livekit-plugins-openai==1.2.15
livekit-plugins-silero==1.2.15
livekit-plugins-turn-detector==1.2.15
redis
python-dotenv
and with
Copy code
livekit-agents==1.2.15
livekit-plugins-deepgram==1.2.15
livekit-plugins-elevenlabs==1.2.15
livekit-plugins-google==1.2.15
livekit-plugins-openai==1.2.15
livekit-plugins-silero==1.2.15
livekit-plugins-turn-detector==1.2.15
redis
python-dotenv
And still same error
Copy code
OSError: /usr/local/lib/python3.11/site-packages/livekit/rtc/resources/liblivekit_ffi.so: undefined symbol: __isoc23_strtoll
This is my dockerfile
Copy code
FROM python:3.11.6

WORKDIR /app

COPY requirements.txt .

RUN pip3 install -r requirements.txt

COPY ./app .

# ensure that any dependent models are downloaded at build-time
RUN python main.py download-files

ENTRYPOINT ["python"]
CMD ["main.py", "start"]
r
I will check with that team. I thought they already rolled out a fix.