You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Vladimir Ivanov <iv...@gmail.com> on 2007/05/10 06:26:27 UTC
[build][hdk] bug(?) can't start hdk/jdk/bin/java
Hello everyone,
today I can't start 'java' from the jdk directory. Could someone
reproduce/fix it?
hdk> projects/trunk/target/hdk/jdk/bin/java -version
projects/trunk/target/hdk/jdk/bin/java: error while loading shared
libraries: libhythr.so: cannot open shared object file: No such file
or directory
hdk> projects/trunk/target/hdk/jdk/jre/bin/java -version
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r536725, (May 10 2007), Linux/ia32/gcc 3.3.3, release build
http://incubator.apache.org/harmony
hdk>
thanks, Vladimir
Re: [build][hdk] bug(?) can't start hdk/jdk/bin/java
Posted by Ivan Popov <iv...@gmail.com>.
I submitted HARMONY-3833 and attached patch, which solves this
problem. I'd like someone to apply this patch.
Thanks.
Ivan
On 5/10/07, Ivan Popov <iv...@gmail.com> wrote:
> It is because of unresolved dependency on classlib libraries:
>
> $ ldd jdk/bin/java
> linux-gate.so.1 => (0xffffe000)
> libhythr.so => not found
> libhysig.so => not found
> libc.so.6 => /lib/libc.so.6 (0xb7e2e000)
> libm.so.6 => /lib/libm.so.6 (0xb7e08000)
> libdl.so.2 => /lib/libdl.so.2 (0xb7e04000)
> /lib/ld-linux.so.2 (0xb7f76000)
>
> I suspect this is caused by the recent changes in jdktools build while
> adding and then removing launcher module. These changes affected also
> samsa module, which produces jdk/bin/* binaries. I'll look at this
> problem and try to resolve it.
>
> Thanks.
> Ivan
>
> On 5/10/07, Vladimir Ivanov <iv...@gmail.com> wrote:
> > Hello everyone,
> > today I can't start 'java' from the jdk directory. Could someone
> > reproduce/fix it?
> >
> > hdk> projects/trunk/target/hdk/jdk/bin/java -version
> > projects/trunk/target/hdk/jdk/bin/java: error while loading shared
> > libraries: libhythr.so: cannot open shared object file: No such file
> > or directory
> > hdk> projects/trunk/target/hdk/jdk/jre/bin/java -version
> > Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> > Foundation or its licensors, as applicable.
> > java version "1.5.0"
> > pre-alpha : not complete or compatible
> > svn = r536725, (May 10 2007), Linux/ia32/gcc 3.3.3, release build
> > http://incubator.apache.org/harmony
> > hdk>
> >
> > thanks, Vladimir
> >
>
Re: [build][hdk] bug(?) can't start hdk/jdk/bin/java
Posted by Ivan Popov <iv...@gmail.com>.
It is because of unresolved dependency on classlib libraries:
$ ldd jdk/bin/java
linux-gate.so.1 => (0xffffe000)
libhythr.so => not found
libhysig.so => not found
libc.so.6 => /lib/libc.so.6 (0xb7e2e000)
libm.so.6 => /lib/libm.so.6 (0xb7e08000)
libdl.so.2 => /lib/libdl.so.2 (0xb7e04000)
/lib/ld-linux.so.2 (0xb7f76000)
I suspect this is caused by the recent changes in jdktools build while
adding and then removing launcher module. These changes affected also
samsa module, which produces jdk/bin/* binaries. I'll look at this
problem and try to resolve it.
Thanks.
Ivan
On 5/10/07, Vladimir Ivanov <iv...@gmail.com> wrote:
> Hello everyone,
> today I can't start 'java' from the jdk directory. Could someone
> reproduce/fix it?
>
> hdk> projects/trunk/target/hdk/jdk/bin/java -version
> projects/trunk/target/hdk/jdk/bin/java: error while loading shared
> libraries: libhythr.so: cannot open shared object file: No such file
> or directory
> hdk> projects/trunk/target/hdk/jdk/jre/bin/java -version
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r536725, (May 10 2007), Linux/ia32/gcc 3.3.3, release build
> http://incubator.apache.org/harmony
> hdk>
>
> thanks, Vladimir
>