- edited description
cannot open shared object file
Issue #260
resolved
Dear all,
I am trying to use the matlab wrapper in ubuntu14.04, but it gives error message like this:
Invalid MEX-file '/usr/local/MATLAB/R2014b/toolbox/gtsam/gtsam_wrapper.mexa64':
libgtsam.so.4: cannot open shared object file: No such file or directory
Error in gtsam.NonlinearFactorGraph (line 41)
my_ptr = gtsam_wrapper(1046);
but I can find libgtsam.so.4
at /usr/local/lib/
Comments (2)
-
reporter -
- changed status to resolved
This is not a GTSAM bug, but a system configuration problem. You need to tell your system to look in /usr/local/lib. Some instructions (using ldconfig seems to be the preferred way):
http://askubuntu.com/questions/350068/where-does-ubuntu-look-for-shared-libraries
http://unix.stackexchange.com/questions/67781/use-shared-libraries-in-usr-local-lib
- Log in to comment