You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some programs i.e. the rust stdlib will use /proc/self/exe to get their own executable path i.e. to re-execute themself. In earlier versions of nix-ld, I was also using exec ld-linux.so having the same issue.
The text was updated successfully, but these errors were encountered:
This is totally a problem! We work around it in our own code that needs to read /proc/self/exe, but it's done in a pretty annoying way. Has nix-ld solved this issue? If so we would love to learn from you!
However over all I would recommend what nix-ld-rs is doing: https://github.com/nix-community/nix-ld-rs
It also leaves no LD_LIBRARY_PATH pollution set in child processes.
Some programs i.e. the rust stdlib will use /proc/self/exe to get their own executable path i.e. to re-execute themself. In earlier versions of nix-ld, I was also using
exec ld-linux.so
having the same issue.The text was updated successfully, but these errors were encountered: