I've recently moved from Kubuntu to Arch Linux, and I'm trying to get my old OpenGL stuff to work. I use SDL for set up, but in Arch Linux the call to "SDL_Init (SDL_INIT_VIDEO)" results in a segfault whenever I have "-lGL" in the g++ command.

SDL seems to work fine on its own, and I can run Xmoto, so I thought OpenGL was configured properly with my Nvidia graphics card.