Re: [jnc-users] Binaries still need Runtimes?
Status: Beta
Brought to you by:
soapy
|
From: Norman <no...@sm...> - 2007-05-10 12:16:59
|
Hi,
so here is the info you asked for:
Operating System:
I compile on an openSuSE 10.2 (i586) an get the error on a SuSE Linux 9.2
(i586).
JNC version:
1.1.1 - looked on the downloadsite today so i guess it is latest.
GCJ:
gcj (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
Copyright (C) 2006 Free Software Foundation, Inc.
Package from the SuSE Repository.
What did you do:
of course NOTHING :-)
No serious. I added the sourcefiles and compiled them with standard
settings given in the GUI. It works on the machine i compiled on. Then i
tested the program on the other system, which is a console-only, very
small system.
The rest you know.
Can you reproduce the problem with a simple "Hello World" application?
In fact i can!
-----------------------------------
package hellotest;
public class test {
public test() {
}
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
-------------------------------------------------
Works on the compiling machine
Still on the other machine:
./hello
./hello: error while loading shared libraries: libgcj.so.7: cannot open
shared object file: No such file or directory
Am Do, 10.05.2007, 13:50, schrieb Marco Trudel:
> Hey Norman
>
>
> Norman Rieß wrote:
>
>> Hello List,
>>
>>
>> when i try to run my JNC-compiled Java-Code on an different machine
>> without gcj installed, i get the error:
>>
>>
>> ./AdminServer: error while loading shared libraries: libgcj.so.7:
>> cannot open shared object file: No such file or directory
>
> Can you give me some more info?
> - What operating system do you use?
> - Which JNC version?
> - Did you use a custom GCJ or mine?
> - What did you do?
> - Can you reproduce the problem with a simple "Hello World" application?
>
>
> There really shouldn't be a libgcj.so.7 dependency. My Linux binaries
> never had that... So I guess you're doing something strange or ran into a
> bug...
>
>
> Marco
>
>
>> I thought these binaries would need no runtimes or JRE any more.
>> Is this a mistake in my thinking or did i miss some settings to avoid
>> this and get a real stand alone application?
>>
>> Regards
>> Norman
>>
>
>
|