Libstdc++.so.6 error in pulumi up

ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory
It looks like the Pulumi SDK has not been installed. Have you run pip install?
If you are running in a virtualenv, you must run pip install -r requirements.txt from inside the virtualenv.

how to solve this properly

Solved this myself by exposing a binary in shell hook. (Refer the flake.nix in the above repo).

Looks like python couldn’t see the linked libraries when each venv virtual environment are created. So we have to expose the library path.