swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

java, Swarm, JDK1.2.2, Solaris 8 and static vs shared libraries


From: Gary Polhill
Subject: java, Swarm, JDK1.2.2, Solaris 8 and static vs shared libraries
Date: Mon, 13 Aug 2001 15:23:12 +0100

Hi,

A possibly repeat question, but I can't find anything in the support archives. 
I have just built Swarm 2.1.1 (a la CD ROM) on a Solaris 8 machine using 
gcc-2.95.2 for Sun's JDK-1.2.2 (I tried building kaffe-1.0.6 but after 
successfully compiling, its check scripts all failed with seg faults...). When 
I run javaswarm StartHeatbugs with LD_LIBRARY_PATH pointing to 
$SWARM_INSTALL_DIR/lib and PATH pointing to $SWARM_INSTALL_DIR/bin, I get:

Exception caught: no javaswarm in java.library.path
Exception in thread "main" java.lang.UnsatisfiedLinkError: initSwarm
        at StartHeatbugs.main(StartHeatbugs.java:15)

Now, looking at past support messages, this problem is supposed to be fixed by 
setting your LD_LIBRARY_PATH to point to the shared libraries in 
$SWARM_INSTALL_DIR/lib, but because I followed the following instructions in 
the INSTALL file:

*** Important note for SunOS/Solaris users!! ***

As `configure' builds shared libraries by default, you should be sure
that your system can support shared libraries.  At the time of
writing, Swarm has been successfully built with shared libraries only
on GNU/Linux systems.  If you are using SunOS/Solaris you should be
sure set this to `--disable-shared' or `--enable-shared=no'.

... I didn't build shared libraries.

I need to recompile, don't I...

Gary


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]