R
Railway•11mo ago
mina

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
Percy
Percy•11mo ago
Project ID: N/A
mina
minaOP•11mo ago
N/A
Brody
Brody•11mo ago
mina
minaOP•11mo ago
This is not a railway app @Brody But will get you the build logs
Brody
Brody•11mo ago
oh youre using nixpacks and deploying elsewhere?
mina
minaOP•11mo ago
Yes
Brody
Brody•11mo ago
can i ask where?
mina
minaOP•11mo ago
Flightcontrol
Brody
Brody•11mo ago
ah cool
mina
minaOP•11mo ago
This is why I was asking on #📦|nixpacks didn’t want to confuse the support team. Mostly OSS question.
Brody
Brody•11mo ago
no worries, if i knew i would have started a thread there, but we are here now so its fine
mina
minaOP•11mo ago
+ @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)
mina
minaOP•11mo ago
Here is the complete build logs
Brody
Brody•11mo ago
been seeing version 'GLIBC_2.36' not found on railway a lot too tbh will need to tag in @jr on this though
mina
minaOP•11mo ago
thanks @Brody
Brody
Brody•11mo ago
railway is recovering from an incident right now, so i dont know when jr would be available to dig into this
mina
minaOP•11mo ago
Thanks @Brody hope all is ok hi @Brody and @jr, did you get a chance to look into this one?
thomas
thomas•11mo ago
Please don't tag team members. @mina, I don't have an update on this, but I wanted to note that.
Want results from more Discord servers?
Add your server