Python app with outdated GLIBC version
Hi team, we are having a python application that builds with NixPacks and working fine for runtime, however trying to execute commands on that container fails because NixPacks by defaults installs an old version of
ldd
to what the application expects. Will it cause issues installing the correct version as NixPkg?18 Replies
Project ID:
N/A
N/A
can you provide the deploy logs? https://bookmarklets.up.railway.app/log-downloader/
This is not a railway app @Brody
But will get you the build logs
oh youre using nixpacks and deploying elsewhere?
Yes
can i ask where?
Flightcontrol
ah cool
This is why I was asking on #📦|nixpacks didn’t want to confuse the support team. Mostly OSS question.
no worries, if i knew i would have started a thread there, but we are here now so its fine
+ @Arnold
hey @Brody
So regarding the issue, here are some more details.
Nix installs libxcrypt which requires glibc.
But the version installed of libxcrypt is not compatible with the glibc version installed.
This is the log that is spat out whenever we run a python command or start a python shell and import anything:
python: /usr/lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.36' not found (required by /nix/store/jx3kvf6mk8qdaw30dbpngwmgm4p23xdb-libxcrypt-4.4.36/lib/libcrypt.so.2)
Here is the complete build logs
been seeing
version 'GLIBC_2.36' not found
on railway a lot too tbh
will need to tag in @jr on this thoughthanks @Brody
railway is recovering from an incident right now, so i dont know when jr would be available to dig into this
Thanks @Brody hope all is ok
hi @Brody and @jr, did you get a chance to look into this one?
Please don't tag team members. @mina, I don't have an update on this, but I wanted to note that.