当前位置: 技术问答>linux和unix
64位操作系统安装resin的问题
来源: 互联网 发布时间:2016-10-02
本文导语: 我参照了这个方法 ./configure --prefix=/usr/local/resin --with-java-home=/usr/local/jdk --with-apxs=/usr/local/apache/bin/apxs --with-apache=/usr/local/apache --enable-linux-smp --enable-64bit make vi Makefile libexec->libexec64 //但是我没弄懂这句的意思,...
我参照了这个方法
./configure --prefix=/usr/local/resin --with-java-home=/usr/local/jdk --with-apxs=/usr/local/apache/bin/apxs --with-apache=/usr/local/apache --enable-linux-smp --enable-64bit
make
vi Makefile
libexec->libexec64 //但是我没弄懂这句的意思,我尝试着改了
make install
最后无法运行,提示出错如下:
Resin/4.0.10 can't start -server '' for watchdog at 127.0.0.1:6600. requires compiled JNI. Found library 'resin_os' as '/usr/local/resin/libexec/libresin_os.so', but the load failed. The JVM exception was: java.lang.UnsatisfiedLinkError: /usr/local/resin/libexec/libresin_os.so: /usr/local/resin/libexec/libresin_os.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
请高手帮忙解答,谢谢!
./configure --prefix=/usr/local/resin --with-java-home=/usr/local/jdk --with-apxs=/usr/local/apache/bin/apxs --with-apache=/usr/local/apache --enable-linux-smp --enable-64bit
make
vi Makefile
libexec->libexec64 //但是我没弄懂这句的意思,我尝试着改了
make install
最后无法运行,提示出错如下:
Resin/4.0.10 can't start -server '' for watchdog at 127.0.0.1:6600. requires compiled JNI. Found library 'resin_os' as '/usr/local/resin/libexec/libresin_os.so', but the load failed. The JVM exception was: java.lang.UnsatisfiedLinkError: /usr/local/resin/libexec/libresin_os.so: /usr/local/resin/libexec/libresin_os.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
请高手帮忙解答,谢谢!
|
是不是下载的resin或者别的库不是64位的?