Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. hardware / OpenGL support
- if run in hardware mode (done by `opengl hardware` in MATLAB),
- got error: `can't open i965_dri.so`
- then `export LIBGL_DEBUG=verbose` in shell and run MATLAB again,
- found a CXXABI error.
- ended up finding `$MATLAB_DIR/sys/os/glnxa64/libstdc++.so.6.0.20` not supporting ABI1.3.9 (seen by `strings`)
- workaround: `ln -sf /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6.0.22 $MATLAB_DIR/sys/os/glnxa64/libstdc++.so.6.0.20`
- 2. Psychtoolbox Screen.mexa64 missing everything
- `AssertOpenGL` in MATLAB threw out an error that everything is missing (libc included...)
- then `!echo $LD_LIBRARY_PATH` in MATLAB revealed sys lib not included
- workaround: `export LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH` in shell before run MATLAB
- ----
- life is hard
Add Comment
Please, Sign In to add comment