|
From: Leif M. <le...@ta...> - 2003-10-31 03:34:21
|
Dave,
> 1- I use Method 3 on my project, and I get the following warning when
> using wrapper on Solaris 9, 64 bits, WHY?
>
> INFO | jvm 1 | 2003/10/30 09:41:03 | WARNING - Unable to load
> native library 'libwrapper.so'. The file
> INFO | jvm 1 | 2003/10/30 09:41:03 | is located on the
> path at the following location but could
> INFO | jvm 1 | 2003/10/30 09:41:03 | not be loaded:
> INFO | jvm 1 | 2003/10/30 09:41:03 |
> /opt/Project/lib/libwrapper.so
> INFO | jvm 1 | 2003/10/30 09:41:03 | Please verify that
> the file is readable by the current user
> INFO | jvm 1 | 2003/10/30 09:41:03 | and that the file
> has not been corrupted in any way.
> INFO | jvm 1 | 2003/10/30 09:41:03 | System signals
> will not be handled correctly.
> INFO | jvm 1 | 2003/10/30 09:41:03 |
> INFO | jvm 1 | 2003/10/30 09:41:04 | Wrapper (Version 3.0.5)
> INFO | jvm 1 | 2003/10/30 09:41:04 |
I don't have access to such a nice toy to test this out. However,
another user running
on a 64 bit version of HP-UX was having similar problems a couple weeks
ago. The
solution there had been to create a new makefile and rebuild from source.
The following excerpt from the thread.
http://sourceforge.net/mailarchive/message.php?msg_id=6307507
On that system, Java seemed to require a library file called
libwrapper.sl. That may be
what is being searched for on your system as well. When loading of a
native library fails
the Wrapper tries to resolve the actual problem by looking for the file
it assumes is being
loaded. For Solaris systems the wrapper currently assumes that
libwrapper.so is being
requested. That may be false for your system.
One of my more helpful users, Andreas Wendt has been working on a
system of
allowing the Wrapper to run on more platforms and specific
architectures. I have a first
pass at this in my hands and am working on getting it up and running.
I am hoping to get this support into the next release so I would
appreciate any help
you could give in the testing area for your platform when the time comes.
If you are able to get things working using a new Makefile, please
post it to the list
along with any info you think would be useful to get it working.
Cheers,
Leif
> 2- Why the binaries realpath and wrapper are not already build in
> the binary package (wrapper_solaris_3.0.5.tar.gz
> <http://prdownloads.sourceforge.net/wrapper/wrapper_solaris_3.0.5.tar.gz?download>)
> ?
?? I just rechecked this and both realpath and wrapper exist in that
file. They are
located in the bin directory. Are they maybe just failing to run on
your 64bit system?
By the way, the realpath binary is no longer used by the shell script.
I left it in for a
while to give various projects time to fix their build files. It will
most likely be removed
in the next release.
Cheers,
Leif
|