first command:
locate libGL
then create a link :
sudo ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so
if your Ubuntu doesn't has libGL,you must apt-get install ... them first!
maybe you must use the command line:
sudo apt-get install libgl1-mesa-dev原文链接:https://www.f2er.com/ubuntu/351455.html