Saturday, June 29, 2013

Fixing staf: error while loading shared libraries: libSTAF.so: cannot open shared object file: No such file or directory

 Assuming you have installed STAF in Lubuntu (13.04 in my case), running staf local ping ping you may observe the following error:

staf: error while loading shared libraries: libSTAF.so: cannot open shared object file: No such file or directory

To fix this, modify/add LD_LIBRARY_PATH to ~/.bashrc like:

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/staf/lib"

No comments: