Hi,

Am Samstag, den 06.05.2017, 21:09 +0100 schrieb James Cowgill:
> In haskell-glut 2.7.0.10 the behavior of loading libglut changed
> significantly. Before, it was linked in directly (using
> "extra-libraries") and dlopen(NULL) was used to access functions in
> it.
> In 2.7.0.10 the direct linking was removed and the loading is now
> done
> using dlopen("libglut.so").
> 
> This is bad because:
> - libglut.so is the wrong library (should be libglut.so.3)
> - Debian packages have lost the automatic dependency on freeglut3
> 
> This has caused raincat to stop working after it was binNMUed (see
> #861957). While it could be worked around by adding a "Depends:
> freeglut3-dev", this is a bit of a hack so it would be better of
> haskell-glut was fixed instead.

upstream has since then changed to code to try both libglut.so and
libglut.so.3:
https://github.com/haskell-opengl/GLUT/commit/a386914280dbc7e027e8ebbfe07774cde697e38d

Normal linking would indeed be preferable. This is the commit that removed it:
https://github.com/haskell-opengl/GLUT/commit/1b47ba6c8074dc163886baf5f3d5b1809501f19c
I inquired about the reason here:
https://github.com/haskell-opengl/GLUT/commit/1b47ba6c8074dc163886baf5f3d5b1809501f19c#commitcomment-22044194

Is this bug relevant for the release?

Greetings,
Joachim 

-- 
Joachim “nomeata” Breitner
Debian Developer
  nome...@debian.org • https://people.debian.org/~nomeata
  XMPP: nome...@joachim-breitner.de • GPG-Key: 0xF0FBF51F
  https://www.joachim-breitner.de/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to