Subject: Re: pkg/36694 (sun-jdk6 does not install correctly - the check for
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Tomasz Luchowski <tomasz@luchowski.com>
List: pkgsrc-bugs
Date: 08/27/2007 22:40:02
The following reply was made to PR pkg/36694; it has been noted by GNATS.

From: Tomasz Luchowski <tomasz@luchowski.com>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
	gnats-admin@netbsd.org, jlam@netbsd.org, zuntum@NetBSD.org
Subject: Re: pkg/36694 (sun-jdk6 does not install correctly - the check for
 missing run-time paths fails)
Date: Tue, 28 Aug 2007 00:35:10 +0200

 jlam@netbsd.org wrote:
 > Synopsis: sun-jdk6 does not install correctly - the check for missing run-time paths fails
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: jlam@netbsd.org
 > State-Changed-When: Mon, 27 Aug 2007 21:52:39 +0000
 > State-Changed-Why:
 > The pkgsrc emulator framework was committed recently which should have
 > fixed this problem by setting CHECK_SHLIBS_SUPPORTED to "no" for all
 > "emulated" packages.  Could you please test with a more recent pkgsrc?
 > Thanks!
 
 I've updated my pkgsrc and I don't get the error at install time 
 anymore. The "java" binary still doesn't work, though:
 
 0:30 zuntum@zunix:~> /usr/pkg/java/sun-6/bin/java -version
 /usr/pkg/java/sun-6/bin/java: error while loading shared libraries: 
 libjli.so: cannot open shared object file: No such file or directory
 
 The library is present in /usr/pkg/java/sun-6/lib/i386/jli/libjli.so but 
 apparently a link to a directory that's actually searched for libraries 
 is missing; symlinking libjli.so to /usr/lib makes the binary work fine.
 
 Regards,
    Tomasz