(I'm not an expert in Linux, I'm just using it. Also sorry for my English)
I think you will need the "glx" module to be loaded by X, and maybe an up-to-date driver for your graphic card wich support glx (opengl). If you have a nVidia card, use the "nvidia" driver instead of the default "nv" one.
The way you will achieve this may depend on your distribution! Do a search about it, it's a very common procedure.
Usually, you will have to modify, as a root, the conf. file of the X server. It should be in /etc/X11/ and may be xorg.conf or xfree86.conf. Do a backup of it! After you'll have to add the line "load "glx"" in the "module" section, and maybe to change your card driver (after it have been installed).
I can only recommend you to search about activing GLX on your distribution before doing such a thing if you are not sure of what you are doing
Especially if you are not comfortable about using a shell without any graphical interface.
[Edit]
For the curious people, GLX means opengl for X. X (X Window system) is the "display" server in Linux. X.org and XFree86 are the two major implementations of X system.
If you want to use OpenGL in Linux, with a X server, you'll need to support GLX.