Debian&HOpenGL, undefined symbol: glPixelStorei

Ville Tirronen <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Organization jyu
Message-ID <[email protected]>
Hi,

I'm trying to get HOpenGL working on a unstable debian box.
Since there were suitable packages available (ghc6, ghc6-hopengl)
I installed those. 
After trying to "ghci6 -package GLUT" I get the following error message:

Loading package OpenGL ... ghc-6.0.1: can't load .so/.DLL for: GLU (/usr/
X11R6/lib/libGLU.so: undefined symbol: glPixelStorei)


With packages for ghc5 this seems to work but I cannot get any example 
compiled.

The result for "ghc5 --make -package GLUT Planet.hs" is:

ghc-5.04.3: can't find module `GL' (while processing "Planet.hs")


Any help appreciated,
 Ville Tirronen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.