[racket-dev] Again. JPEG: unsupported library version: "unknown"

From: WarGrey Gyoudmon Ju (juzhenliang at gmail.com)
Date: Fri Aug 16 05:30:18 EDT 2013

It's weird.
I cloned and modified the racket/draw/unsafe/jpeg.rkt, even the basic form
(ffi-lib "libjpeg")   gives me the unknown version, and the only version in
my system is 62. Finally I solved it by configuring with "--disable-libffi".


More over, I don't know the difficulties to have retina display supported
either.
Maybe it's time to do some researching on the source code.


On Thu, Aug 15, 2013 at 10:21 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> At Wed, 14 Aug 2013 17:55:41 +0800, WarGrey Gyoudmon Ju wrote:
> > racket version: from 5.3.6. (5.3.4 is okay)
> > os version: SunOS (OpenIndiana)
> >
> > DrRacket cannot open
> > Generating documents failed if the page contains picture.
>
> A difference between v5.3.4 and v5.3.6 is that the latter tries to load
> "libjpeg.so.9" if its available (after trying "libjpeg.so.62" and
> "libjpeg.so.8", before trying ""libjpeg.so"). Do you have a
> "libjpeg.so.9" installed?
>
>
> > BTW, is there any plan to make racket GUI support retina display?
>
> I don't have the hardware to work on retina-display support, so far.
> Patches are welcome, of course, but I don't know how difficult the
> problem is.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130816/4d712594/attachment.html>

Posted on the dev mailing list.