Subject: pkg/15691: qcad miss libpng, if installed from the package collection.
To: None <>
From: None <>
List: netbsd-bugs
Date: 02/22/2002 00:48:18
>Number:         15691
>Category:       pkg
>Synopsis:       qcad miss libpng, if installed from the package collection.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 21 14:32:00 PST 2002
>Originator:     Bernd Salbrechter
>Release:        NetBSD-1.5.2
    System: NetBSD schleppo 1.5_BETA NetBSD 1.5_BETA (GENERIC) #1:
        Sat Oct 21 13:59:18 MEST 2000
        fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC i386
    Package collection taken with the release of NetBSD-1.5.2.

	qcad fails to start, because it misses, if it
	is installed from the collection of precompiled packages.

	Delete all packages qcad depends on from the system and
	install it. The packages it depends on will automaticliy
	installed including "png-1.0.11".

   Start qcad and watch for the error messgage or run ldd on it.

ldd /usr/pkg/bin/qcad:
	 -lm.0 => /usr/lib/
	 -lz.0 => /usr/lib/
	 -lpng.1 => /usr/pkg/lib/   !! The result of my work around!!
	 -ljpeg.62 => /usr/pkg/lib/

pkg_info -L png:
  Information for png-1.0.11:
  Required by:

  As you can see the png-1.0.11 package installes only the version
  2.0 of and qcad-1.4.7, which depends on png-1.0.11, requires
  version 1 of

	Link the qcad to an actual version of the png package.

   Work around: "ln -s" in /usr/pkg/lib.
     Yes I know that indicates posible incompatible interface changes
     in the library, but i found no problem when working with qcad.
     May be I do not use the part of qcad, which uses libpng.