Subject: pkg/7415: package install biffs hints
To: None <>
From: Brett Slager <>
List: netbsd-bugs
Date: 04/18/1999 11:35:54
>Number:         7415
>Category:       pkg
>Synopsis:       package install biffs hints
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 18 11:35:00 1999
>Originator:     Brett Slager
>Release:        NetBSD-current, April 17 1999
System: NetBSD 1.4_ALPHA NetBSD 1.4_ALPHA (SNARF) #0: Sun Apr 18 01:02:55 EST 1999 i386

	Installing a library package on i386 results in upset of
	system configuration.  In /usr/local/bin, I have versions of cp, mv,
	and rm that are linked against the Purdue CC entombing library located
	in /usr/local/lib.  ldconfig is run from rc with explicit paths to my
	library directories.

	Excerpt from pkg build:
	<deleted installation of libjpg>
	===>  Building for png-1.0.3
	/usr/pkg/bin/pkglibtool-1.2p1  --mode=compile cc -O  -c png.c
	/usr/libexec/ rm: No such file or directory
	cc -O -c -fPIC -DPIC png.c
	mv -f png.o png.lo
	/usr/libexec/ mv: No such file or directory
	*** Error code 1


	The libjpg install has nuked my and the libtomb library
	in /usr/local/lib can't be found.

	Buy a scanner, attempt to install appropriate support packages.
	Install fails due to local configuration.
	The obvious fix for my system is to create /etc/, but
	the pkgsrc documention should mention that the pkg system assumes
	such a configuration.  Older systems might not be set up that way.
	Or, maybe ldconfig should always be run with the merge option.
	(Yeah, I know that has been around awhile...  but my
	machine has been around and working alot longer)