Subject: Re: Netbsd and JNI
To: None <>
From: Jan Schaumann <>
List: tech-pkg
Date: 07/15/2002 10:35:59
Erik Mattsson <> wrote:
> Hi
> Im working on setting up a servlet that uses JNI on a netbsd box. The
> servlet works fine on a solaris and windows box.  Ive managed to
> compile everything and it looks fine BUT when I then run the java test
> program (testing outside the servlet) it shoves this error onto me:
> Starting to decode JP2
> lib.path=/usr/pkg/java/jre/lib/i386:/usr/pkg/java/jre/lib/i386/green_threads/:/usr/pkg/java/jre/lib/i386/classic:/usr/lib:/lib:./
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> /home/bob/jpeg2k/java/
> /usr/lib/ undefined symbol: __sF

Wild guess:
Maybe the problem is that you linked against /usr/lib/ when you
should have linked against /usr/pkg/emul/linux/lib/ ?

Since the JDK works fine, I'd assume the problem to be in the process of
creating the application.


LISP - Lots of Irritating Stupid Parentheses