From 961b261df34dab311ebce70f25f5ee29417010cb Mon Sep 17 00:00:00 2001 From: Jamie Snape Date: Fri, 17 Nov 2017 16:32:37 -0500 Subject: [PATCH] Add MATLAB fortran / quadmath / stdc++ symlink fixup to documentation --- doc/matlab_bindings.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/matlab_bindings.rst b/doc/matlab_bindings.rst index 429f1fff6bfe..2f46f37e86ae 100644 --- a/doc/matlab_bindings.rst +++ b/doc/matlab_bindings.rst @@ -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 ===============