I don’t find myself using ROOT much on my home machine, but when I do there’s usually something broken.
In this case, it was when trying to use PyROOT, a ROOT interface for Python, that this error made my day:
This is using the install as documented in a previous post.
The problem is that the library Python loads can’t find another library it needs. To fix this, the
DYLD_LIBRARY_PATH variable needs to be set:
This can be executed directly in the shell or placed in a
This solution is not without fault. Namely, whenever one runs a command with
sudo, the following warning appears:
At least one workaround is available, but for now I put up with the message in the shell I want to use PyROOT in, manually setting
DYLD_LIBRARY_PATH when needed.