From owner-freebsd-java Sun Apr 2 17:51:52 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id F413637BB2B for ; Sun, 2 Apr 2000 17:51:48 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA34288; Mon, 3 Apr 2000 10:21:43 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004030051.KAA34288@ares.trc.adelaide.edu.au> Subject: Re: libfontmanager.so link error (runtime) In-Reply-To: <38E75DD8.D0AB5F7@optushome.com.au> from David Hobley at "Apr 3, 2000 00:48:56 am" To: David Hobley Date: Mon, 3 Apr 2000 10:21:43 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi David, > I compiled up the Java2 as patched with the -4 patchset. > I also included the iomgr.c patch for FreeBSD 4 and everything > built just swimmingly. When I try to run though, I get: > > % java mainclass > Warning: JIT compiler "sunwjit" not found. Will use interpreter. > Exception in thread "main" java.lang.UnsatisfiedLinkError: > /scratch/jdk1.2.2/build/freebsd/lib/i386/libfontmanager.so: > /scratch/jdk1.2.2/build/freebsd/lib/i386/libfontmanager.so: > Undefined symbol "__pure_virtual" > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1319) > > > Is this some problem with the compiler? What version of FreeBSD are you actually compiling on (4.0?). This problem is precisely Issue 15 -- (look in the file ISSUES). You should fix it by editting build/freebsd/makefiles/Defs-freebsd.gmk, uncommenting the extra LDLIBS_COMMON line and recompiling. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message