On Sep 19, 2006, at 10:09 AM, Oliver Deakin wrote:
Geir Magnusson Jr. wrote:
On Sep 19, 2006, at 7:46 AM, Egor Pasko wrote:
On the 0x1E9 day of Apache Harmony Ivan Volosyuk wrote:
<SNIP!>
this one is repaired with this patch:
--- modules/luni/src/main/native/launcher/linux/makefile
(revision 447762)
+++ modules/luni/src/main/native/launcher/linux/makefile
(working copy)
@@ -21,7 +21,7 @@
BUILDFILES = $(SHAREDSUB)main.o $(SHAREDSUB)cmain.o \
$(SHAREDSUB)launcher_copyright.o $(SHAREDSUB)strbuf.o \
$(SHAREDSUB)libhlp.o
-MDLLIBFILES = $(DLLPATH)libhyprt.so $(DLLPATH)libhythr.so
+MDLLIBFILES = $(DLLPATH)libhyprt.so $(DLLPATH)libhythr.so $
(DLLPATH)libhysig.so
EXENAME = $(EXEPATH)java
include $(HY_HDK)/build/make/rules.mk
So I guess this comes about because we still haven't resolved the
dual libhythrd problem... and the DRLVM thead library uses hysig
(I suppose) and the classlib version doesn't, and the drlvm build
uses the drlvm version both for the launcher and in /default
hmmm - Im not sure this is true. So far I've been using the IBM
VME, and I still get the error on my SLES9 machine:
deploy/jdk/jre/bin/java: error while loading shared libraries:
libhysig.so: cannot open shared object file: No such file or directory
I cannot launch java unless I set LD_LIBRARY_PATH. Can anyone
else recreate this with J9? Egor (sounds like your system suffers
from the
same ailments as mine)?
When I run "ldd java" I see the same "libhysig.so => not found"
message.
It is only when I rebuild with the $(DLLPATH)libhysig.so in
the launcher makefile that I no longer need to set LD_LIBRARY_PATH.
ld -v gives me 2.15.90.0.1.1, and gcc -v gives 3.3.3, so it looks
as if
my configuration is older than yours - perhaps this has something to
do with it...
Keep in mind that the launcher will add the directory of the
executable to the LD_LIBRARY_PATH and then exec() itself, so it
should load... I can't wait to figure this one out...
geir
Regards,
Oliver
I don't understand why it isn't affecting me. On my box, ld -
version reports 2.16.91 and gcc -v reports 3.4.6
I'll add this as I don't think there is harm for now
geir
(note: crlf endings in makefile)
--Egor Pasko, Intel Managed Runtime Division
--------------------------------------------------------------------
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: harmony-dev-
[EMAIL PROTECTED]
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: harmony-dev-
[EMAIL PROTECTED]
--
Oliver Deakin
IBM United Kingdom Limited
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]