Opened 12 years ago

Closed 12 years ago

#36240 closed defect (fixed)

optipng @0.7.2 mismatched libpng causes nonworking binaries

Reported by: lpancescu (Laurențiu Păncescu) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: optipng

Description

On Mountain Lion, optipng doesn't work at all. I tried with different PNG files, but I always get the following error:

** Processing: apple-touch-icon-114x114.png
Warning: Application was compiled with png.h from libpng-1.5.12
Warning: Application  is  running with png.c from libpng-1.4.12
Warning: Incompatible libpng version in application and library
Error: Out of memory

** Status report
1 file(s) have been processed.
1 error(s) have been encountered.

I have libpng already installed by MacPorts, as dependency for ghostscript and ImageMagick; is it possible that optipng sees the png.h from libpng-1.5.2 installed by MacPorts, instead of its own bundled copy, due to the compiler include path?

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Thanks for reporting this; fixed in r97931.

Note: See TracTickets for help on using tickets.