The command needs to include LD_LIBRARY_PATH to the location of all the shared libraries used by the code base.
Index: frysk-core/common/ChangeLog 2005-11-15 Andrew Cagney <cagney@redhat.com> * Makefile.rules (fryski): New program. (gij.sh): Re-implement. (GEN_GCJ_SO_FLAGS, GEN_GCJ_SO_DIRS): New, list of -L/-l flags. (GEN_GCJ_RPATHS, GEN_GCJ_RPATH_FLAGS): Use. This gets gij.sh again behaving like an interpreter (and it can be used to load up other .jar files). Note that frysk's code isn't interpreted - the system quickly jumps into native code.
treat this as "fixed"