[HOpenGL] Compiling HOpenGL under recent versions of GHC

Andres Loeh andres at cs.uu.nl
Wed May 19 00:49:55 EDT 2004


> I wrote:
> >[....] Meanwhile I'll try to dig out a few old emails on this topic. [...]
> 
> I've found the relevant thread on this mailing list:
> 
>    http://www.haskell.org//pipermail/hopengl/2003-December/000459.html
> 
> In a nutshell: It seems to be the case that the OpenGL-related dynamic libs
> on Gentoo are broken, they are probably missing some dependency information.
> Could you confirm this?

Thanks for the pointer -- I had seen some other thread, but not this
one. The dependencies still seem to be "broken" in Gentoo, but
apparently SuSE also patches, so it's really broken somewhere else.

So, if I understand the situation correctly: reversing the library
order in package.conf may work for ghci, and might not do any further
harm under Linux at all, but generally is not a good solution because
it breaks compilation on some other platforms. Therefore it would be
better to integrate the dependencies between the libararies properly
into the .so files.

How that can be done, I have no clue -- I really am no C programmer;
but you gave the hint with the SuSE source rpm, so I have a place to
start.

I will try to investigate further ...

Andres


More information about the HOpenGL mailing list