In order to use GLSL, I need glew, but glew is not working correctly. I’ve installed all packages (libglew1.5-dev etc.etc.), linked glew at compilation (-lGLEW), included glew before gl.h etc.etc., but when I do glewInit(), the function does not return GLEW_OK and the first function in my program that uses glew is glCompileShader and that turns into a segmentation fault.