This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

HelloWorld crashes!


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
**********************************************************************




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]