LD_LIBRARY_PATH needs a location for my cuda related libraries. The usual location for most seems to be /usr/local/cuda for everyone else, but for whatever reason mine seems to be in /opt/cuda/ . I need to verify this however. I don’t trust my own eyes. perhaps it’s an arch thing.
anyway, i am failing to cause the value of LD_LIBRARY_PATH to be recognizable as containing my cuda libraries so I am looking for some kind of shell command to return the path to the cuda drivers. I also notice that inside my /opt/cuda I am seeing a lot of symlinks to the libraries and they aren’t portable, meaning I can’t just copy the symlink to some other venv and still work. they become broken symlinks whenever i try to do that.
so, firstly, how do i track down the proper path the cuda drivers that LD_LIBRARY_PATH wants, since it seems to vary from system to system? and if it’s true that all of them are in /opt/cuda on my system, how did that happen and why aren’t they in /usr/local/cuda like most other linux systems? is it an Arch thing?