R
Railway9mo ago
Skowt

ffmpeg via nixpacks now erroring out.

I had to change some env vars on my one service today and after redeploying the service started crashing because of a GLIBC_2.36 not found error. ffmpeg: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.36' not found (required by /nix/store/....gcc-12.3.0-lib/lib/libstdc++.so.6) It seems like it might be related to the recent nixpacks releases. Has anyone had any similar issues? It's breaking my project and I'm not sure what the fix is.
9 Replies
Percy
Percy9mo ago
Project ID: 12fdfc0b-c3e4-4f98-8448-01d15c12017f
Skowt
Skowt9mo ago
12fdfc0b-c3e4-4f98-8448-01d15c12017f
Brody
Brody9mo ago
use an older version of nixpacks by adding a railway.toml file to your project with this in it
[build]
nixpacksVersion = "1.15.0"
[build]
nixpacksVersion = "1.15.0"
Skowt
Skowt9mo ago
I'll try again but had it previously and it didn't help. Ok so if anyone ever comes across this thread, the headache I was having was confusing a 'nixpacks.toml' with the 'railway.toml'. Put the build version in railway and keep your aptPkgs in nixpacks.
Brody
Brody9mo ago
right i did say that should go into a railway.toml
Skowt
Skowt9mo ago
Yeah you were 100%. I was getting confused between the two, just because they both were related to nixpacks.
Brody
Brody9mo ago
no worries
Skowt
Skowt9mo ago
Thanks for the help!
Brody
Brody9mo ago
no problem!