在我想要安装ncdf软件包的情况下在Linux上安装ncdf出错时显示此错误

时间:2015-07-02 09:45:50

标签: package

  

install.packages(" ncdf&#34)   *安装包'ncdf'...   **包'ncdf'成功解包并且MD5总和检查了nc-config ... / usr / local / bin / nc-config configure:created   ./config.status config.status:创建src / Makevars   ** libs gcc -std = gnu99 -I / usr / share / R / include -DNDEBUG -I / usr / local / include -fpic -g -O2 -fstack-protector --param = ssp-buffer-size = 4 - Wformat -Wformat-security -Werror = format-security -D_FORTIFY_SOURCE = 2 -g -c ncdf.c -o ncdf.o gcc -std = gnu99 -I / usr / share / R / include -DNDEBUG -I / usr / local /包括
  -fpic -g -O2 -fstack-protector --param = ssp-buffer-size = 4 -Wformat -Wformat-security -Werror = format-security -D_FORTIFY_SOURCE = 2 -g -c ncdf2.c -o ncdf2.o gcc -std = gnu99 -I / usr / share / R / include -DNDEBUG   -I / usr / local / include -fpic -g -O2 -fstack-protector --param = ssp-buffer-size = 4 -Wformat -Wformat-security -Werror = format-security -D_FORTIFY_SOURCE = 2 -g -c ncdf3 .c -o ncdf3.o gcc -std = gnu99 -shared -L / usr / lib / R / lib -Wl,-Bsymbolic-functions   -Wl,-z,relro -o ncdf.so ncdf.o ncdf2.o ncdf3.o -L / usr / local / lib -lnetcdf -L / usr / lib / R / lib -lR / usr / bin / ld: /usr/local/lib/libnetcdf.a(attr.o):重新定位R_X86_64_32   `.RODATA'制作共享对象时不能使用;重新编译   -fPIC /usr/local/lib/libnetcdf.a:错误添加符号:错误值collect2:错误:ld返回1退出状态make:*** [ncdf.so]错误1   错误:包'ncdf'的编译失败   *删除'/home/ayesha/R/x86_64-pc-linux-gnu-library/3.2/ncdf'

     

下载的源包在     ' / TMP / RtmpSrzd8P / downloaded_pa​​ckages'

0 个答案:

没有答案