Fortran Coder

标题: 关于这个错误:libifport.so.5: cannot open shared object file: No such ... [打印本页]

作者: astly2004    时间: 2021-6-17 15:49
标题: 关于这个错误:libifport.so.5: cannot open shared object file: No such ...
求助下,我java的war包部署在linux的tomcat
fortran通过ifort -shared -fpic -o编译成了so文件
然后通过jna调用so文件,Native.loadLibrary("FortranDLL", calculatePipeNetApi.class);
但是一直报错
Exception:java.lang.Exception: java.lang.UnsatisfiedLinkError: Unable to load library 'FortranDLL': libifport.so.5: cannot open shared object file: No such file or directory


执行了一下脚本还是不行,source /opt/intel/bin/compilervars.sh intel64
请问哪位遇到过或者知道怎么解决?





欢迎光临 Fortran Coder (http://bbs.fcode.cn/) Powered by Discuz! X3.2