|
From: Scott H. <sd...@gm...> - 2008-01-02 01:38:36
|
Marcelo, did you finally succeed in getting the wrapper to work on Solaris
x64? I've gotten it to compile, but it won't load the native library:
WARNING - Unable to load the Wrapper's native library 'libwrapper.so '.
The file is located on the path at the following location but
could not be loaded:
/export/home/sdhays/Desktop/tmp/wrapper_3.2.3_src-64/bin/../lib/libwrapper.so
Please verify that the file is readable by the current user
and that the file has not been corrupted in any way.
One common cause of this problem is running a 32-bit version
of the Wrapper with a 64-bit version of Java, or vica versa.
This is a 64-bit JVM.
Reported cause:
/export/home/sdhays/Desktop/tmp/wrapper_3.2.3_src-64/lib/libwrapper.so:
ld.so.1: java: fatal: relocation error: R_AMD64_PC32: file
/export/home/sdhays/Desktop/tmp/wrapper_3.2.3_src-64/lib/libwrapper.so:
symbol main: value 0x280023eff84 does not fit
System signals will not be handled correctly.
I haven't figured out how to fix this; most of the things I find concerning
this error on the internet use the Sun Studio compiler, which I have also
tried and get the same result, even after specifying -KPIC (the most common
suggestion) and -xarch=amd64 -xmodel=medium.
Any suggestions?
Scott
|