系统错误:libGL.so.1:无法打开共享对象文件:没有此文件或目录 - ogre-meshviewer

系统错误:libGL.so.1:无法打开共享对象文件:没有此文件或目录 - ogre-meshviewer

食人魔 1.11.6

$ locate libGL.so
/usr/lib/x86_64-linux-gnu/libGL.so
/usr/lib/x86_64-linux-gnu/mesa/libGL.so
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0


$ ogre-meshviewer athene.mesh
...
Unregistering ResourceManager for type HighLevelGpuProgram
Unregistering ResourceManager for type Material
Traceback (most recent call last):
  File "/snap/ogre-meshviewer/224/bin/ogre_mesh_viewer.py", line 380, in <module>
    app.initApp()
RuntimeError: InternalErrorException: Could not load dynamic library /snap/ogre-meshviewer/224/usr/lib/OGRE/RenderSystem_GL.  System Error: libGL.so.1: cannot open shared object file: No such file or directory in DynLib::load at /build/ogre-meshviewer/parts/ogre/src/OgreMain/src/OgreDynLib.cpp (line 117)


$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

https://github.com/OGRECave/ogre-meshviewer

如何解决这个错误?

相关内容