[HOpenGL] bug in package.conf (ghci -package OpenGL / ghci -package GLUT)

Marc A. Ziegert coeus at gmx.de
Tue Dec 30 20:29:12 EST 2003


> I've just had a look at SuSE's source RPM for GLUT/GLU/GL, and they actually
> do some patching (especially in the Makefile.am files) to get the dependencies
> right. Perhaps the gentoo people should have a look at this. :-)


thanks, sven.
i'll forward it to gentoo developers. (or first patch it on my own. - gentoo is easy-selfmade-linux.)

Happy New Year!
- marc




Am Dienstag, 30. Dezember 2003 18:51 schrieb Sven Panne:
> Marc A. Ziegert wrote:
> > [...] what is the ghc option to link statically?
> 
> Static linking (-static) is the default, I've never tried dynamic linking
> (-dynamic). A request for the latter one pops up quite regularly, but there
> are a few reasons why it is not necessarily desirable (=> mailing list archives).
> 
> > coeus at titan ~ $ cat /usr/lib/libGLU.la [...]
> 
>  From this you can see that the library dependencies are not quite right on
> your platform (see the lines starting with "dependency_libs" and "NEEDED").
> This is what the final result should look like (modulo some minor differences):
> 
> panne at jeanluc:~> objdump -p /usr/lib/libglut.so | grep NEEDED
>    NEEDED      libSM.so.6
>    NEEDED      libICE.so.6
>    NEEDED      libXmu.so.6
>    NEEDED      libXext.so.6
>    NEEDED      libXi.so.6
>    NEEDED      libX11.so.6
>    NEEDED      libGLU.so.1
>    NEEDED      libc.so.6
> panne at jeanluc:~> objdump -p /usr/lib/libGLU.so | grep NEEDED
>    NEEDED      libGL.so.1
>    NEEDED      libm.so.6
>    NEEDED      libgcc_s.so.1
>    NEEDED      libc.so.6
> panne at jeanluc:~> objdump -p /usr/lib/libGL.so | grep NEEDED
>    NEEDED      libGLcore.so.1
>    NEEDED      libm.so.6
>    NEEDED      libXext.so.6
>    NEEDED      libX11.so.6
>    NEEDED      libdl.so.2
> 
> I've just had a look at SuSE's source RPM for GLUT/GLU/GL, and they actually
> do some patching (especially in the Makefile.am files) to get the dependencies
> right. Perhaps the gentoo people should have a look at this. :-)
> 
> Cheers,
>     S.
> 
> _______________________________________________
> HOpenGL mailing list
> HOpenGL at haskell.org
> http://www.haskell.org/mailman/listinfo/hopengl
> 
> 



More information about the HOpenGL mailing list