This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
HelloWorld crashes!
- To: java-discuss@sourceware.cygnus.com
- Subject: HelloWorld crashes!
- From: Manosiz Bhattacharyya <mano@cse.ucsc.edu>
- Date: Wed, 19 May 1999 09:44:57 -0700 (PDT)
Hi all,
I just finished installing the libgcj. Then on a HelloWorld
application. I compiled with
gcj --main=HelloWorld HelloWorld.java -lsocket
I used -lsocket because it was complaining of all the socket functions
that it needed in -lgcj. The output of running the program gave me
inaja proj/gcj 10> a.out
ld.so.1: a.out: fatal: libgcj.so.0: open failed: No such file or directory
Killed
Then I set the LD_LIBRARY_PATH to the place where it could find the .so
file. Running that causes a segmentation fault.
Any suggestions as to what could be done,
Regards,
Manosiz.
**********************************************************************
Manosiz Bhattacharyya. e:mail : mano@cse.ucsc.edu
626 Koshland Way, School of Engineering,
Santa Cruz, University of California,
CA-95064,USA. Santa Cruz.
Phone: (res) (831)-420-1368 (off) (831)-459-5625
**********************************************************************