Subject: Warning: graphics/png is currently broken
To: None <tech-pkg@NetBSD.org, pkgsrc-users@NetBSD.org>
From: Bernd Ernesti <veego@NetBSD.org>
List: pkgsrc-users
Date: 04/17/2006 08:51:08
Hi,
there is currently a problem after the update and last changes for the
png package, which could case it to fail.
At least it failed for me while compiling print/cups:
../filter/.libs/libcupsimage.so: undefined reference to `png_read_destroy'
# cd /usr/pkg/lib
# ls -la libpng*
lrwxr-xr-x 1 root wheel 10 Apr 17 01:35 libpng.a -> libpng12.a
-rw-r--r-- 1 root wheel 851 Apr 17 01:35 libpng.la
lrwxr-xr-x 1 root wheel 11 Apr 17 01:35 libpng.so -> libpng12.so
lrwxr-xr-x 1 root wheel 15 Apr 17 01:35 libpng.so.3 -> libpng.so.3.9.0
-rwxr-xr-x 1 root wheel 151028 Apr 17 01:35 libpng.so.3.9.0
-rw-r--r-- 1 root wheel 162706 Apr 17 01:35 libpng12.a
-rwxr-xr-x 1 root wheel 865 Apr 17 01:35 libpng12.la
lrwxr-xr-x 1 root wheel 17 Apr 17 01:35 libpng12.so -> libpng12.so.0.9.0
lrwxr-xr-x 1 root wheel 17 Apr 17 01:35 libpng12.so.0 -> libpng12.so.0.9.0
-rwxr-xr-x 1 root wheel 142520 Apr 17 01:35 libpng12.so.0.9.0
# nm libpng.so.3 | grep png_read_destroy
00011668 T png_read_destroy
# nm libpng12.so | grep png_read_destroy
0000f548 t png_read_destroy
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.
With this I could build a few packages and a newly build xv package displays
a png picture.
Bernd