Subject: pkg/12044: shared lib problems in lang/jdk
To: None <gnats-bugs@gnats.netbsd.org>
From: None <chris@cjones.org>
List: netbsd-bugs
Date: 01/25/2001 12:49:19
>Number:         12044
>Category:       pkg
>Synopsis:       shared lib problems in lang/jdk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 25 12:52:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chris Jones
>Release:        2001-01-25
>Organization:
----------------------------------------------------- chris@mt.sri.com
Chris Jones                                    SRI International, Inc.
>Environment:
	
System: NetBSD legolas.mt.sri.com 1.5 NetBSD 1.5 (LEGOLAS) #2: Fri Jan 12 17:16:51 MST 2001 chris@legolas.mt.sri.com:/usr/src/sys/arch/i386/compile/LEGOLAS i386


>Description:
When the jdk-1.1.8 package is installed, it installs a number of
shared libraries.  Most notable among them is libjava.so.1.1.8, which
is in java/lib/i386/green_threads.  However, it appears that the
install code isn't properly detecting these shared libraries, because
no symlinks are getting made.
>How-To-Repeat:
legolas# cd /usr/pkgsrc/lang/jdk && make install
legolas$ appletviewer
Shared object "libjava.so" not found

>Fix:
Workaround:

cd ${LOCALBASE}/java/lib/i386/green_threads
ln -s libjava.so.1.1.8 libjava.so.1
ln -s libjava.so.1.1.8 libjava.so
etc.

I'm not about to dive into the bsd.pkg.mk code to try and fix it for
real.
>Release-Note:
>Audit-Trail:
>Unformatted: