On 9/20/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
Ivan Volosyuk wrote:
> On 20 Sep 2006 16:06:07 +0700, Egor Pasko <[EMAIL PROTECTED]> wrote:
>> On the 0x1E9 day of Apache Harmony Ivan Volosyuk wrote:
>> >
>> > [snip]
>> >
>> > I've also reproduced the problem with DSO.
>> > Just run 'java' from different directory and will get:
>> > java/lang/UnsatisfiedLinkError : Failed loading library
>> > "libhyzlib.so": DSO load failed
>>
>> Using lovely strace ... I found that moving all lib* (except
>> libhysig.so, hibhyprt.so, libhythr.so) from jre/bin to jre/bin/default
>> solves the DSO load failures for me.
>>
>> HelloWorld and Eclipse work just fine :)
>>
>> (BTW: to reproduce the happy DSO problem, run the launcher not staying
>> at .../jre/bin, but from some other dir)
>>
>> Does anybody experience the same? Time to quickfix the build? :)
>
> Not works for me. Now I receive:
> java/lang/UnsatisfiedLinkError : Failed loading library
> "libhytext.so": DSO load failed
>
> I have also copied all libraries into bin and bin/default. The message
> still displayed.

The expected layout is that the classlib libraries reside in jre/bin,
because they area shared across all VMs, and the VM-specific libraries
and associated files reside in a subdirectory ore jre/bin (e.g.
jre/bin/default, or jre/bin/myvm).

Makes sense?
Tim

Yes, absolutely. I think it is better for VM's loader to search
libraries in either bin and bin/default.

--
Ivan

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to