(Fwd) Re: Shared object "libawt.so" not found
Greg Lewis
glewis at misty.eyesbeyond.com
Wed Sep 3 13:38:17 PDT 2003
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 <past at netmode.ntua.gr>
> To: Dan Langille <dan at langille.org>
> 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 at 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 at 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
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 :).
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the freebsd-java
mailing list