Subject: pkg/7339: emulators/linux_lib missing two execs in PLIST
To: None <>
From: John Darrow <>
List: netbsd-bugs
Date: 04/07/1999 23:09:07
>Number:         7339
>Category:       pkg
>Synopsis:       emulators/linux_lib missing two execs in PLIST
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr  7 21:20:01 1999
>Originator:     John Darrow
Computing Services, Wheaton College, Wheaton, IL
>Release:        NetBSD 1.4_ALPHA
System: NetBSD 1.4_ALPHA NetBSD 1.4_ALPHA (JDARROW) #1: Mon Apr 5 22:24:15 CDT 1999 i386

emulators/linux_lib is missing @exec lines to make the usr/X11R6/lib/X11
and usr/lib/X11 symlinks (in emul/linux).  This causes a binary package
generated from this pkgsrc to not create these links, leading to subtle
breakage in shared-lib-using linux binaries, such as Netscape.

make a binary package from linux_lib on one machine, pkg_add it on another,
install netscape, see breakage, dig around to find difference

Index: emulators/linux_lib/pkg/PLIST
RCS file: /source/cvs/netbsd/current/pkgsrc/emulators/linux_lib/pkg/PLIST,v
retrieving revision
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- PLIST	1999/01/17 15:07:23
+++ PLIST	1999/03/26 03:26:45	1.2
@@ -175,7 +175,9 @@
+@exec cd %D/emul/linux/usr/X11R6/lib && ln -fs ../../../var/X11R6/lib X11
 @unexec rm -f %D/emul/linux/usr/X11R6/lib/X11
+@exec cd %D/emul/linux/usr/lib && ln -fs ../X11R6/lib/X11 X11
 @unexec rm -f %D/emul/linux/usr/lib/X11