All Collections
Tips and Tricks
Installation tips
Missing libXt.so.6: installing X11 dependencies
Missing libXt.so.6: installing X11 dependencies

Fix "libXt.so.6: cannot open shared object file: No such file or directory" when installing GR.jl, VTK, or other graphics libraries

Shahar Zaks avatar
Written by Shahar Zaks
Updated over a week ago

Some graphics libraries such as Julia's GR.jl and Python's VTK require X11 (Linux's windowing system) support files. You're might encounter the following error when running your code: libXt.so.6: cannot open shared object file: No such file or directory .

Add the following apt-get  dependencies to your capsule (using the package management system):

  • libgl1-mesa-glx 

  • libxt6 

For VTK, these additional dependencies might be required:

  • libglu1-mesa 

  • libsm6 

  • libxrender1 

  • libfontconfig1 

For more information on GR.jl, see this GitHub issue.

Did this answer your question?