Mantis - Resin
Viewing Issue Advanced Details
1372 minor always 09-22-06 13:54 12-04-06 14:34
ferg  
ferg  
normal  
closed 3.0.21  
fixed  
none    
none 3.0.22  
0001372: build issue with AMB
...
[14:03:22.013] Socket JNI library is not available.
[14:03:22.013] Resin will still run but performance will be slower.
[14:03:22.013] To compile the Socket JNI library on Unix, use
./configure; make; make install.
[14:03:22.017] java.lang.UnsatisfiedLinkError:
/export/home/local/resin-pro-3.0.21/libexec/libresin.so: ld.so.1: java:
fatal: relocation error: R_AMD64_32S: file
/export/home/local/resin-pro-3.0.21/libexec/libresin.so: symbol std_ops:
value 0xfffffd7f91e17420 does not fit [14:03:22.017] at
java.lang.ClassLoader$NativeLibrary.load(Native Method) [14:03:22.017]
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
[14:03:22.017] at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
[14:03:22.017] at java.lang.Runtime.loadLibrary0(Runtime.java:822)
[14:03:22.017] at java.lang.System.loadLibrary(System.java:992)
[14:03:22.017] at
com.caucho.vfs.JniServerSocketImpl.<clinit>(JniServerSocketImpl.java)
[14:03:22.017] at java.lang.Class.forName0(Native Method) .....


BTW: here is the gcc version I used:
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)


Notes
(0001635)
ferg   
12-04-06 14:34   
amd on solaris10 needs -fPIC for both the gcc compilation and linking step.