Are your graphical drivers up to date? If yes, try to install those package:
libgl1-mesa-(dev, dri, dri-dbg, dri-experimental, dri-experimental-dbg, glx, glx-dbg, swx11, swx11-dbg, swx11-dev)
libglapi-mesa, libglapi-mesa-dbg
libglu1-mesa, libglu1-mesa-dev
libglw1-mesa, libglw1-mesa-dev
mesa-common-dev
mesa-utils, mesa-utils-extra
If it still doesn't work, try to check the missing libraries using "ldd" (run "ldd nameOfTheAGKExecutable"). Here's how it looks for me:
linux-vdso.so.1 (0x00007ffcb6145000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f3d5caa2000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f3d5c963000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00007f3d5c75d000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f3d5c552000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f3d5c531000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f3d5c32e000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f3d5c122000)
libopenal.so.1 => /usr/lib/libopenal.so.1 (0x00007f3d5c023000)
libudev.so.1 => /usr/lib/libudev.so.1 (0x00007f3d5bffd000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f3d5bff8000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f3d5be73000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f3d5bcaf000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f3d5cb85000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f3d5bc7a000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f3d5ba68000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f3d5b9ac000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f3d5b982000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f3d5b975000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f3d5b76f000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f3d5b763000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f3d5b75e000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f3d5b558000)