From owner-freebsd-java@FreeBSD.ORG Wed Sep 3 16:00:45 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A78B716A4BF for ; Wed, 3 Sep 2003 16:00:45 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id E735944053 for ; Wed, 3 Sep 2003 16:00:44 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id D80693D29; Wed, 3 Sep 2003 19:00:44 -0400 (EDT) From: "Dan Langille" To: Greg Lewis Date: Wed, 03 Sep 2003 19:02:20 -0400 MIME-Version: 1.0 Message-ID: <3F563ABC.10437.4508FBC7@localhost> Priority: normal In-reply-to: <20030903204711.GA70746@misty.eyesbeyond.com> References: <3F5595C5.552.4284913E@localhost> X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: freebsd-java@freebsd.org Subject: Re: (Fwd) Re: Shared object "libawt.so" not found X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 23:00:45 -0000 On 3 Sep 2003 at 14:47, Greg Lewis wrote: > On Wed, Sep 03, 2003 at 07:18:29AM -0400, Dan Langille wrote: > > Forwarded with premission: > > > > ------- Forwarded message follows ------- > > Date sent: Tue, 02 Sep 2003 18:11:49 +0300 > > From: Panagiotis Astithas > > To: Dan Langille > > Subject: Re: Shared object "libawt.so" not found > > > > Dan Langille wrote: > > > > > On 2 Sep 2003 at 17:06, Panagiotis Astithas wrote: > > > > > > > > >>Dan Langille wrote: > > >> > > >>>On 2 Sep 2003 at 16:42, Panagiotis Astithas wrote: > > >>> > > >>>>Also, does opera set up any LD_LIBRARY_PATH variables during startup? > > >>> > > >>> > > >>>I think so: > > >>> > > >>>[dan@laptop:/usr/local/share/opera] $ grep -r LD_LIBRARY_PATH * > > >>>Binary file bin/opera matches > > >>>uninst/rollback_7.20-20030825.2/opera: LD_LIBRARY_PATH="${OPERA_JAVA_DIR}:${OPERA_JAVA_DIR}/native_threads:${OPERA_JAVA_DIR}/client:${OPERA_JAVA_DIR}/classic:${LD_LIBRARY_PATH}" > > >>>uninst/rollback_7.20-20030825.2/opera: export LD_LIBRARY_PATH > > >>>uninst/rollback_7.20-20030827.1/opera: LD_LIBRARY_PATH="${OPERA_JAVA_DIR}:${OPERA_JAVA_DIR}/native_threads:${OPERA_JAVA_DIR}/client:${OPERA_JAVA_DIR}/classic:${LD_LIBRARY_PATH}" > > >>>uninst/rollback_7.20-20030827.1/opera: export LD_LIBRARY_PATH > > >>>[dan@laptop:/usr/local/share/opera] $ > > Evil. Opera assumes that the JDK will be using native threads. However, > the Diablo JDK only provide green threads support. Looking at the names > of the files, I'm not sure if there is one you should edit, however you > can probably get the effect you want by doing: > > env OPERA_JAVA_DIR=/usr/local/diablo-jdk1.3.1/jre/lib/i386 \ > LD_LIBRARY_PATH=/usr/local/diablo-jdk1.3.1/jre/lib/i386/green_threads \ > opera Hmmm: [dan@laptop:~] $ env OPERA_JAVA_DIR=/usr/local/diablo-jdk1.3.1/jre/lib/i386 \ > LD_LIBRARY_PATH=/usr/local/diablo-jdk1.3.1/jre/lib/i386/green_threads \ > opera /usr/libexec/ld-elf.so.1: /usr/local/diablo-jdk1.3.1/jre/lib/i386/libawt.so: Undefined symbol "JVM_RaiseSignal" [dan@laptop:~] $ > The complete fix would be to edit one of the Opera files. If you can find > out which one we should probably add it to the port. Maybe its time I > download the beta and try it myself :). Please....? -- Dan Langille : http://www.langille.org/