Subject: pkg/12091: suse_compat doesn't handle libncurses.so.2.1 symlink
To: None <gnats-bugs@gnats.netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: netbsd-bugs
Date: 01/31/2001 09:32:21
>Number:         12091
>Category:       pkg
>Synopsis:       suse_compat doesn't handle libncurses.so.2.1 symlink
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 31 09:35:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Johnny C. Lam
>Release:        NetBSD-current/i386-20001204
>Organization:
	Department of Statistics, Carnegie Mellon University
>Environment:
System: NetBSD spellbook.home.net 1.5Q NetBSD 1.5Q (SPELLBOOK) #0: Sat Jan 27 00:50:06 EST 2001 jlam@spellbook.home.net:/local/obj/local/src/sys/arch/i386/compile/SPELLBOOK i386
Architecture: i386
Machine: i386
>Description:
	The suse_compat package doesn't handle the symlink:

		libncurses.so.2.1 -> libncurses.so.1.9.7a

	created in /emul/linux/usr/lib during a "make install".  I don't grok
	the rpm2pkg stuff, so I'm not sure where the problem lies.

>How-To-Repeat:
	cd pkgsrc/emulators/suse_compat
	make install
	pkg_delete suse_compat
	ls /emul/linux/usr/lib/libncurses.so.2.1 # and see that it's there.

>Fix:
	This symlink should be created/removed with the appropriate @exec/
	@unexec lines in the PLIST.  It's apparently done correctly for the
	other shared libraries, but libncurses is slightly different in that
	libncurses.so.1.9.7a is linked to both libncurses.so.1.9 _and_
	libncurses.so.2.1.  I would guess that rpm2pkg needs to by modified
	in some way.
>Release-Note:
>Audit-Trail:
>Unformatted: