Fortran Coder

查看: 5006|回复: 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-4-28 12:03

Powered by Tencent X3.4

© 2013-2024 Tencent

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