Guest User

Untitled

a guest
Dec 11th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. 1. hardware / OpenGL support
  2. if run in hardware mode (done by `opengl hardware` in MATLAB),
  3. got error: `can't open i965_dri.so`
  4. then `export LIBGL_DEBUG=verbose` in shell and run MATLAB again,
  5. found a CXXABI error.
  6. ended up finding `$MATLAB_DIR/sys/os/glnxa64/libstdc++.so.6.0.20` not supporting ABI1.3.9 (seen by `strings`)
  7.  
  8. 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`
  9.  
  10. 2. Psychtoolbox Screen.mexa64 missing everything
  11. `AssertOpenGL` in MATLAB threw out an error that everything is missing (libc included...)
  12. then `!echo $LD_LIBRARY_PATH` in MATLAB revealed sys lib not included
  13.  
  14. workaround: `export LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH` in shell before run MATLAB
  15.  
  16. ----
  17.  
  18. life is hard
Add Comment
Please, Sign In to add comment