pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Warning: graphics/png is currently broken



On Mon, Apr 17, 2006 at 08:51:08AM +0200, Bernd Ernesti wrote:
[..]

> I didn't had the chance to check why these two libraries are different,
> but at least the libpng.so link should point to libpng.so.3.9.0 and not
> to the libpng12.so library.

The difference comes from a linker script used for the libpng12 library.
libtool is called with this option: -Wl,--version-script=libpng.vers

and that script doesn't have some entries which will be gone, as noted
in libpng.txt:

 The old libpng functions png_read_init(), png_write_init(),
 png_info_init(), png_read_destroy(), and png_write_destroy() have been
 moved to PNG_INTERNAL in version 0.95 to discourage their use.  These
 functions will be removed from libpng version 2.0.0.

Hmm, i don't like it that we have now two different png libraries in that
package.

Bernd




Home | Main Index | Thread Index | Old Index