Skip to content

Commit

Permalink
Merge pull request RobotLocomotion#7504 from jamiesnape/matlab-symlinks
Browse files Browse the repository at this point in the history
Add MATLAB fortran / quadmath / stdc++ symlink fixup to documentation
  • Loading branch information
sherm1 authored Nov 18, 2017
2 parents 758e705 + 961b261 commit ff076d5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/matlab_bindings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,23 @@ Building the MATLAB Bindings
cmake -DWITH_MATLAB=ON ../drake
make
Troubleshooting
---------------

On Ubuntu, you may encounter an error similar to the following::

/usr/local/MATLAB/R2017a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found.

If so, modify your MATLAB installation as follows:

.. code-block:: shell
cd /usr/local/MATLAB/R2017a/sys/os/glnxa64
sudo rm libgfortran.so.3 libquadmath.so.0 libstdc++.so.6
sudo ln -s /usr/lib/x86_64-linux-gnu/libgfortran.so.3 libgfortran.so.3
sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6
sudo ln -s /usr/lib/x86_64-linux-gnu/libquadmath.so.0 libquadmath.so.0
Original MATLAB
===============

Expand Down

0 comments on commit ff076d5

Please sign in to comment.