These are all defined in libxcb-glx.so. That library should be a dependency of libGL.so, and get linked automatically. You can try adding -lxcb-glx to the linker flags as a workaround, but the fact that this doesn't work out of the box suggests that there are other factors involved. Did you get any other error messages prior to those? Did you try to install OpenGL (or any related components) other than using the normal package installation mechanism?