Shared Object file error.....

Guys & Gals... I'm having huge problems getting HOpenGL to work within the GHC interpreter. It works fine using ghc --make, but I need to use the interpreter to track down an errant segfault. Error is as follows: [jon@pfy refactorer]$ ghci -package medina RefacBadSmells.hs //Title removed Loading package base ... linking ... done. Loading package lang ... linking ... done. Loading package text ... linking ... done. Loading package unix ... linking ... done. Loading package posix ... linking ... done. Loading package haskell98 ... linking ... done. Loading package concurrent ... linking ... done. Loading package readline ... linking ... done. Loading package util ... linking ... done. Loading package data ... linking ... done. Loading package HOpenGL ... ghc-6.0: can't load .so/.DLL for: HOpenGL (libHOpenGL.so: cannot open shared object file: No such file or directory) [jon@pfy refactorer]$ Medina is a package which simply imports HOpenGL. As you can see, for some reason the Shared Object file was not created when HOpenGL installed. Does anyone know how I can make this, or some other way this problem can be solved? I'm using GHC 6.0.1, HOpenGL 1.05, running on Mandrake Linux 9.1 Cheers, Jon Cowie
participants (1)
-
Jon Cowie