爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 11147|回复: 1

安装netcdf编译时出错:make check后,显示:undefined reference to `H5Oget_info...

[复制链接]
发表于 2021-6-5 16:18:07 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
tst_h_files4.o: In function `main':
tst_h_files4.c:(.text+0x4ed): undefined reference to `H5Oget_info_by_idx'
Makefile:859: recipe for target 'tst_h_files4' failed
make[2]: *** [tst_h_files4] Error 1
make[2]: Leaving directory '/home/whl/usr/netcdf-c-4.7.4/h5_test'
Makefile:1432: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/whl/usr/netcdf-c-4.7.4/h5_test'
Makefile:707: recipe for target 'check-recursive' failed



希望能得到各位大神的指点!

密码修改失败请联系微信:mofangbao
发表于 2021-6-5 18:41:13 来自手机 | 显示全部楼层
再安一遍zlib到hdf5文件下面
cd zlib
./configure --prefix=$DIR/netcdf/hdf5
make
make check
make install
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

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