Geir Magnusson Jr. wrote:
Egor Pasko wrote:
<SNIP>
this binary cannot find libhysig.so:
$ ldd deploy/jre/bin/java | grep hysig
libhysig.so => not found
In build/default/jre/bin, is there a libhysig.so anywhere?
yes, in deploy/jre/bin/
That's really weird. I can do the same, and it resolves on Ubuntu 6
w/ no LD_LIBRARY_PATH set.
I get the same thing on my SLES9 machine. If I dont manually set
LD_LIBRARY_PATH, I get an error message:
./java: error while loading shared libraries: libhysig.so: cannot open
shared object file: No such file or directory
"ldd ./java" gives me the following:
linux-gate.so.1 => (0xffffe000)
libhyprt.so =>
/harmony/svn-checkouts/test/deploy/jdk/jre/bin/libhyprt.so (0x40018000)
libhythr.so =>
/harmony/svn-checkouts/test/deploy/jdk/jre/bin/libhythr.so (0x40035000)
libm.so.6 => /lib/tls/libm.so.6 (0x4004c000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4006f000)
libc.so.6 => /lib/tls/libc.so.6 (0x4007f000)
libdl.so.2 => /lib/libdl.so.2 (0x40199000)
/lib/ld-linux.so.2 (0x40000000)
libhysig.so => not found
so oddly it appears that libhyprt.so and libhythr.so are found,
but libhysig.so is not, even though they are in the same directory!
I have taken a look at the Linux makefile for launcher, and I notice
that libhysig.so is not listed in MDLLIBFILES, but libhyport.so and
libhythr.so are. Adding "$(DLLPATH)libhysig.so" to this line
of the makefile solves the LD_LIBRARY_PATH problem for me.
Do you see the same thing Egor?
Regards,
Oliver
geir
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [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]