3 Star 6 Fork 4

魔神翼 / PowerJudge

 / 详情

Centos 6.2 cannot find static version of libm

待办的
拥有者
创建于  
2014-05-02 19:57

RHEL 6, FC12, 13, 14 do not ship with static versions of glibc OR the libraries are in a directory that is not normally pathed. Thus, there is no static version of libm to link by default.

64bit compiler and x86_64 64bit OS: RHEL 6.x distros may put the libs in path not normally searched, /usr/lib/x86_64-redhat-linux5E/lib64/ Add this path explicitly:

Possible workarounds are:

  1. Specify library location using -L option
    ifort -static hello.f90 -L/usr/lib/x86_64-redhat-linux5E/lib64/
  2. Add the location of libraries to LIBRARY_PATH variable

评论 (0)

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
2509 power 1578658835
C
1
https://gitee.com/power/PowerJudge.git
git@gitee.com:power/PowerJudge.git
power
PowerJudge
PowerJudge

搜索帮助