Bug#861976: libghc-glut-dev: attempts to load libglut.so instead of libglut.so.3

James Cowgill jcowgill at debian.org
Sat May 6 20:37:50 UTC 2017


Hi,

On 06/05/17 21:33, Joachim Breitner wrote:
> 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?

It broke raincat (#861957). Either this bug needs to be fixed or some
workaround needs to be applied to raincat for stretch.

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20170506/42a5917e/attachment-0001.sig>


More information about the Pkg-haskell-maintainers mailing list