- 积分
- 1986
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-3-20
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
when installing the grib_api , an error appearing:
relocation R_X86_64_32 against `a local symbol' can not be used when 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
|
|