[racket] Racket 5.3.4 doesn't build aginst libpng 1.6

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat May 11 11:32:49 EDT 2013

The `racket/gui' library looks for "libpng15", "libpng12", and just
"libpng", in that order.

So, maybe it should also look for "libpng16", which I'm guessing is
the name of the libpng 1.6.2 library?

You can try adjusting

 collects/racket/draw/unsafe/png.rkt

to see if it works with "libpng16", or you could link "libpng.so" in
the Racket "lib" directory to libpng16.so".

At Fri, 10 May 2013 18:23:01 -0400, Eric Bélanger wrote:
> I'm trying to build racket 5.3.4 but I'm getting many similar errors:
> png_structp->C: argument is not non-null `png_structp' pointer
>   argument: #f
> 
> I found out that this only happens with libpng 1.6.2. It builds fine if I
> use libpng 1.5.15.
> 
> Does anyone have a fix?
> 
> Thanks.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users


Posted on the users mailing list.