GNU bug report logs -
#11797
trunk does not build on NetBSD
Previous Next
Full log
View this message in rfc822 format
On Thu, Jun 28, 2012 at 2:05 AM, Glenn Morris <rgm <at> gnu.org> wrote:
> "Herbert J. Skuhra" wrote:
>
>> 1. I have to modify the configure script so that it checks for -lpng15
>> instead of -lpng
>
> Not the main part of your report of course, but really?
> There's no "libpng" on NetBSD, only "libpng15"?
I've built png from pkgsrc and I have only:
/usr/pkg/lib/libpng15.la
/usr/pkg/lib/libpng15.a
/usr/pkg/lib/libpng15.so
/usr/pkg/lib/libpng15.so.15
/usr/pkg/lib/libpng15.so.15.11.0
> Isn't that a PITA for compiling a bunch of software, not just Emacs?
Yes, when the software does not use pkg-config or libpng-confg to
detect libpng.
> You aren't just missing the equivalent of a "libpng-devel" package that
> provides the unversioned .so?
pkgsrc has a workaround for software that does not use pkg-config or
libpng-config.
Excerpt from /usr/pkgsrc/graphics/png/buildlink3.mk:
# Some software directly tries to link against -lpng instead of
# using pkg-config or libpng-config to find the proper arguments
# instead of installing symlinks. Work around this with buildlink
# magic: packages outside pkgsrc will need to be converted to
# one of the proper methods or fail.
BUILDLINK_TRANSFORM+= l:png:png15
This bug report was last modified 13 years and 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.