created two symbolics:
cd /usr/lib/x86_64-linux-gnu
sudo ln -s libhdf5_serial.so.8.0.2 libhdf5.so
sudo ln -s libhdf5_serial_hl.so.8.0.2 libhdf5_hl.so
add the following lines in MakeFile.config:
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/ and
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/hdf5/serial/

本文介绍了如何通过创建符号链接来正确配置HDF5库的方法,确保Python项目能够顺利使用HDF5。具体步骤包括在指定目录下创建必要的符号链接,并在MakeFile.config中设置正确的INCLUDE_DIRS和LIBRARY_DIRS路径。
&spm=1001.2101.3001.5002&articleId=78568501&d=1&t=3&u=0bf41ba18c7b4d8b908fdd0074c69251)
6万+

被折叠的 条评论
为什么被折叠?



