Nie
ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory
Something is being messed up in the C libraries and I don't know how to fix it.
Context: My Development Setup
Environment: Python 3.11 (Pipenv)
Operating System: NixOS
I also installed a Python package:
google-cloud-firestore
which depends on C libraries. Now, I don't really know how to install the C library(ies) required to use google-cloud-firestore
, so I just use steam-run
. It basically runs my program in an FHS environment so I don't have to go to the trouble of installing dependencies manually.
That works great.
I run my program with this command:
I can't run it with just:
Gives me this error:
Railway Side
On my Railway app, it works perfectly with:
Build: pipenv install
Start: pipenv run ...
The Problem
When I installed this Python library: https://pypi.org/project/libfaketime, the deployment broke.
It basically throws the same error as if I were not to use steam-run
on my local machine.
I assume this library is not very compatible with nix filesystem.
Now I thought of using steam-run
on Railway but I don't know how.
Would appreciate any help. Thanks in advance!17 replies