Hi.
One of the things that typically gives a 'can't find *.so' error the
problem is that the path to the so (shared object) file is not in the
LD_LIBRARY_PATH environment variable.
You can check this by bringing up a terminal window and entering the
following command...
set | grep LD_LIBRARY_PATH
The first thing I would do is find out where the libjava.so file is
(typically path to your java install/jre/lib/arch/libjava.so where
path to your java install is the path to the root of the java install
and arch is something like i386 -- probably ppc or ppc64 or something
like it in your case). If you can't find it then the problem is that the
install of java did not complete properly or the installer is broken. If
this is the case you will need to find a different j2sdk or jre or check
with the site where you got the installer for further help.
Second, try the following set of commands...
export JAVA_HOME=path to your java install
export PATH=$PATH:$JAVA_HOME
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JAVA_HOME/jre/lib/arch
java -version
The setting of the JAVA_HOME environment variable is not strictly
necessary but is required by Tomcat and it helps with the following
commands. Of course arch and path to your java install will have to
be replaced with the appropriate values for your system as above. If
this works then you simply need to take the first three lines of the
above commands and modify your /etc/profile file such that it does this
for you.
Hope this helps.
Reg
On Wed, 2003-07-23 at 09:50, Hari Om wrote:
I downloaded and installed j2sdk-1.3.1-02b-FCS-linux-ppc.bin from the
penguinppc.org web site and followed the instructions. I was able to INSTALL
under /usr/local and also changed my PATH variable.but later when I test
my java version it gives following error - wonder why
#./java -version
Error: can't find libjava.so.
I am using IBM PowerPC (pseries) with Red Hat Linux 7.1
Any related information on this is appreciated.
THANKS!
HARI OM
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]