/bin/ffprobe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /nix/stor

7 months ago

I am getting this error during runtime on my app after a deploy, but i didn't change any config

/bin/ffprobe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/d6gvgzzifggrb7fh1v0yi8bvrdlwhpqa-libglvnd-1.7.0/lib/libGLX.so.0)

0 Replies

7 months ago

f9724669-2787-46a8-bfcd-3dd6e9944ba6


7 months ago

i am installig ffmpeg using the NIXPACKS_APT_PKGS var on my service, which previously worked OK


7 months ago

i would unfortunately have to recommend writing a Dockerfile instead of dealing with nixpacks


7 months ago

okay thanks


7 months ago

could a recent update in nixpacks have caused this? i think my service just uses the latest version for every build


7 months ago

unfortunately yes, its not possible for us to test every application so more complex builds can break, and thus for more immutable builds a Dockerfile tailired to your specific application is always going to give you a better experience.


7 months ago

okay makes sense


7 months ago

i managed to find a fix and still use nixpacks for building. found it here: https://github.com/railwayapp/nixpacks/issues/977#issuecomment-1801272738


7 months ago

i was installing ffmpeg through the NIXPACKS_APT_PKGS var, but changed that to NIXPACKS_PKGS which has solved the problem


7 months ago

ah, glad you found a solution