Subject: pkg/14284: xv-3.10anb1 binary uses wrong png
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 10/18/2001 05:05:56
>Number:         14284
>Category:       pkg
>Synopsis:       i386 1.5 xv-3.10anb1 binary - libpng.so.1 not found
>Confidential:   yes
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 18 05:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        Not current
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
System: NetBSD rainier 1.5.1_BETA NetBSD 1.5.1_BETA (JCR-1.5-20010407) #0: Sat Apr 7 01:44:35 PDT 2001 reed@rainier:/usr/src/sys/arch/i386/compile/JCR-1.5-20010407 i386


>Description:
binary package of xv-3.10anb1 built against different libpng than
pkgsrc xv-3.10anb1.

pkgsrc tree is "10 Sep 2001" (which I assume is "stable" for 1.5.2).
(Please feel free to tell me other tags or other ways to fetch "stable" pkgsrc.)

I did an update in graphics/png (Makefile 1.38, Distname libpng-1.0.12).

The currently installed xv-3.10apl1 said:
 Shared object "libpng.so.1" not found
It was built with -lpng.1 (png-1.0.6).

So I deleted xv and installed the binary package xv-3.10anb1. (I am not sure
what ftp server it was grabbed from. I used "make bin-install".)

It reported same shared object error.

So I built from source.
This is graphics/xv (Makefile 1.38, Distname xv-3.10a); it depends on
"png>=1.0.11:../png".

And it (xv-3.10anb1) worked (-lpng.2 => /usr/pkg/lib/libpng.so.2).

>How-To-Repeat:
Use stable png and then install binary xv package.
>Fix:
Remove bad package from ftp server(s)?
>Release-Note:
>Audit-Trail:
>Unformatted: