[racket] Racket 5.1: "bitmap scheme-box.jpg failed to load" error

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Feb 15 22:37:59 EST 2011

At Tue, 15 Feb 2011 22:33:06 -0430, Karn Kallio wrote:
> I came across the same thing ... it must be libjpeg 6.2 (you can see this in 
> the file collects/racket/draw/unsafe/jpeg.rkt

In the call

  (ffi-lib "libjpeg" '("62" ""))

'("62" "") requests version 6.2, but it settles for a versionless
library (which is typically linked to some specific version). The hack
at the definition of JPEG_LIB_VERSION determines which version was
actually loaded.

So, installing version 6.2 may avoid the problem, but I'm interested to
understand why version 8.3 didn't work out.

Posted on the users mailing list.