cwjwang的个人博客分享 http://blog.sciencenet.cn/u/cwjwang

博文

solution for flexpart installing during grib_api error

已有 3373 次阅读 2013-11-19 12:46 |系统分类:科研笔记

when installing the grib_api , an error appearing:

relocation R_X86_64_32 against `a local symbol' can not be usedwhen making a shared object; recompile with -fPIC .

the solution :

export CC=”gcc -fPIC”
export CXX=”g++ -fPIC”

export FC="gfortran -fPIC"

export F77="gfortran -fPIC"


then goto the jasper files

make distclean; make clean
./configure --enable-shared
make


then goto the grib_api file

./ configure --enable-shared
make




https://blog.sciencenet.cn/blog-714229-743029.html

上一篇:regridding from lat-lon to lambert conformal conic (LLC)
下一篇:argcis 如何去除不规则区域的nodata
收藏 IP: 159.226.151.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-19 01:32

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部