R
Railwayβ€’4d ago
flatypus

Any idea why it's missing glibc?

I wanted to use ffmpeg, so I added it to the aptPkgs tag in the nixpacks.toml, but when I call the deployment, i get hit with a missing glibc_2.38
No description
Solution:
try installing ffmpeg with nix instead
Jump to solution
23 Replies
Percy
Percyβ€’4d ago
Project ID: d45797ab-711e-43f9-9781-c6320c9554d7
flatypus
flatypusβ€’4d ago
d45797ab-711e-43f9-9781-c6320c9554d7
Brody
Brodyβ€’4d ago
flatypus
flatypusβ€’4d ago
oh hi brody (alex saw it was 3AM and guessed you'd still be up)
Brody
Brodyβ€’4d ago
I probably shouldn't be
Brody
Brodyβ€’4d ago
these are the deployment logs πŸ™‚
flatypus
flatypusβ€’4d ago
im going to kill myself brain died sorry
Brody
Brodyβ€’4d ago
you take after alex
flatypus
flatypusβ€’4d ago
he takes after me
alex
alexβ€’4d ago
im older he takes after me :trolsk:
Brody
Brodyβ€’4d ago
congratulations you have surpassed the 1500 log line limit of the bookmarklet, so you get to manually send me the build table at the top of the build logs
alex
alexβ€’4d ago
πŸ—£οΈ
flatypus
flatypusβ€’4d ago
i tried installing libc6 as well, but that didn't change anything lmao
No description
Brody
Brodyβ€’4d ago
what version of python are you developing this app with locally installing libc6 may be doing more harm than good, remove it for now please
flatypus
flatypusβ€’4d ago
yea, it gave the same error without libc6 too 3.11.3, i set pythonversion to 3.11 on railway
Brody
Brodyβ€’4d ago
how did you go about doing that
flatypus
flatypusβ€’4d ago
NIXPACKS_PYTHON_VERSION
Solution
Brody
Brodyβ€’4d ago
try installing ffmpeg with nix instead
flatypus
flatypusβ€’4d ago
πŸ‘ yup, looks like it works! thanks man and please go to sleep
Brody
Brodyβ€’4d ago
soon ℒ️ no problem! for future readers this would look like this nixpacks.toml file -
[phases.setup]
nixPkgs = ['...', 'ffmpeg']
[phases.setup]
nixPkgs = ['...', 'ffmpeg']