libglut.so.3: cannot open shared object file: No such file or directory

You need to install one package:

sudo apt-get install freeglut3

It will install libraries to /usr/lib/x86_64-linux-gnu/libglut.so.3 and /usr/lib/x86_64-linux-gnu/libglut.so.3.9.0.

If it does not help try to find shared object dependencies of your application with
ldd application to find its dependencies.
And check application arch (32- or 64-bit) with file application.

If it is 32-bit you should install 32-bit freeglut with:

sudo apt-get install freeglut3:i386 freeglut3-dev:i386