./demo: error while loading shared libraries: libjsoncpp.so.24: cannot open shared object file: No such file or directory
编译链接成功,执行失败,提示错误。
ldd demo
libjsoncpp.so.24 => not found
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/path
./demo: error while loading shared libraries: libjsoncpp.so.24: cannot open shared object file: No such file or directory
编译链接成功,执行失败,提示错误。
ldd demo
libjsoncpp.so.24 => not found
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/path