I used nix for some stuff earlier and it worked. But now I keep getting this:
$ nix-shell -p nix-info --run "nix-info"
bash: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
If I nix-shell in some project it'll first install the stuff, but then when it's done installing it can't run things because of the libstdc++ missing.
Does nix not provide its own libstdc++?
I now remember I've seen and solved this before, but that time I must've forgotten to write my solution on StackOverflow. That won't happen again: unset LD_PRELOAD
(I was setting it to libtcmalloc in bashrc).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.