pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44527: libpng does not provide standard names
>Number: 44527
>Category: pkg
>Synopsis: libpng does not provide standard names
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 07 08:15:00 +0000 2011
>Originator: Riccardo Mottola
>Release: 5.99
>Organization:
GNUstep
>Environment:
NetBSD grid 5.99.44 NetBSD 5.99.44 (nc6120) #0: Mon Jan 31 10:01:52 CET 2011
multix@tirith:/usr/obj/sys/arch/i386/compile/nc6120 i386
>Description:
Libpng from pkg installs in pkg, it will install its files using the version
number as postfix (e.g. 15 in this case) both for the libraries as the headers.
ls -l /usr/pkg/lib/libpng15.*
-rw-r--r-- 1 root wheel 172936 Jan 29 18:29 /usr/pkg/lib/libpng15.a
-rwxr-xr-x 1 root wheel 997 Jan 29 18:29 /usr/pkg/lib/libpng15.la
lrwxr-xr-x 1 root wheel 18 Jan 29 18:29 /usr/pkg/lib/libpng15.so ->
libpng15.so.15.1.0
lrwxr-xr-x 1 root wheel 18 Jan 29 18:29 /usr/pkg/lib/libpng15.so.15 ->
libpng15.so.15.1.0
-rwxr-xr-x 1 root wheel 155106 Jan 29 18:29 /usr/pkg/lib/libpng15.so.15.1.0
includes:
drwxr-xr-x 2 root wheel 512 Jan 29 18:29 libpng15
>How-To-Repeat:
Install
png-1.5.1beta09 Library for manipulating PNG images
>Fix:
Many programs (not referring to other packages of pkgsrc, but to standard
source packages) will look for the headers in <libpng/png.h> and use the linker
flag "-lpng" which is perfectly reasonable.
I would suggest to either remove the renaming because the library sonames
already have the version, major and minor, or add symbolic links. I suppose the
renaming of the object and directories was done for a kind of "slotting".
The links should be similar to this:
libpng -> libpng15
for the headers
and
libpng.so -> lib15.so
libpng.so.15 -> libpng15.so
Home |
Main Index |
Thread Index |
Old Index