Fortran Coder

查看: 4959|回复: 0

[编译器] 关于这个错误:libifport.so.5: cannot open shared object file: No such ...

[复制链接]

10

帖子

4

主题

0

精华

入门

F 币
63 元
贡献
35 点
发表于 2021-6-17 15:49:38 | 显示全部楼层 |阅读模式
求助下,我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
请问哪位遇到过或者知道怎么解决?
您需要登录后才可以回帖 登录 | 极速注册

本版积分规则

捐赠本站|Archiver|关于我们 About Us|小黑屋|Fcode ( 京ICP备18005632-2号 )

GMT+8, 2024-3-28 17:17

Powered by Tencent X3.4

© 2013-2024 Tencent

快速回复 返回顶部 返回列表