Re: Compiling HOpenGL under recent versions of GHC

Andres Loeh <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
> 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
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.