error while loading shared libraries: libg2o_core.so: cannot open shared object file: No such file o

在运行ch6中的g2ocurfitting时,出现的错误。改正方法如下:

sudo gedit /etc/ld.so.conf

添加如下代码:

/usr/local/lib

运行:

sudo ldconfig

参考网址:点击打开链接

https://www.cnblogs.com/lizhongpingchn/p/7881368.html
原文地址:https://www.cnblogs.com/excellentlhw/p/11196295.html