Subject: Re: pkg/36694 (sun-jdk6 does not install correctly - the check for
To: None <gnats-bugs@NetBSD.org>
From: Tomasz Luchowski <tomasz@luchowski.com>
List: pkgsrc-bugs
Date: 08/28/2007 00:35:10
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