I was able to sort my glxinfo error out. This is the output of the glxinfo command:
@-Aspire-E5-771G:~$ glxinfo | grep “OpenGL version”
OpenGL version string: 3.0 Mesa 17.2.8
@-Aspire-E5-771G:~$
It seems like I am using OpenGL version 3.0 :(. Is there a way to use OpenGL 4?