Hi Lance,

I experienced the same problem on RedHat 7.1.  I solved it with a few
environment variables:

export LD_ASSUME_KERNEL=2.2.5
export
LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386/hotspot:$JAVA_HOME/jre/lib/i386/nati
ve_threads:$JAVA_HOME/jre/lib/i386

That did it for me, I don't know if it'd have an effect for you, but thought
I'd send this along anyways.

Cheers,

Scott

----- Original Message -----
From: "Lance Hill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 2:19 PM
Subject: Install problems in FreeBSD 4.2


> Hi,
>
> I recently downloaded and installed jdk1.3.0_02 on a FreeBSD system. I
> followed the instructions included with the jakarta-tomcat README which
> indicated that I needed to set an environment variable of
> JAVA_HOME=/usr/local/jdk1.3.0_02 and add $JAVA_HOME/bin to the PATH. The
> instructions indicate that I should set the CLASSPATH if needed, but I do
> not know if it is needed, or what it should be set to. When I try to run
> ./bootstrap.sh for jakarta-ant (install instructions for tomcat say it is
> next step in setup of tomcat) I get:
>
> /usr/local/jdk1.3.0_02/bin/java: /usr/bin/expr: not found
> Error: can't find libjava.so.
>
> The same messages pops up if I try to run ./build.sh for tomcat without
> first installing ant.
>
> The jdk was installed from j2sdk-1_3_1-linux-i386.bin.
>
> How do I get past this error message to the next error message?
>
> I have been unable to find documentation for setting this up in FreeBSD,
so
> if someone can point me in the direction of some, I would greatly
appreciate
> it.
>
> Thanks.
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>

Reply via email to