使用Seurat安装hdf5r报错
安装hfd5r报错
configure: error: The version of hdf5 installed on your system is not sufficient. Please ensure that at least version 1.8.13 is installed ERROR: configuration failed for package ‘hdf5r’
1. 下载hdf5-1.8.13的源码
wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/src/hdf5-1.8.13.tar.bz2
2. 编译安装
tar xjf hdf5-1.8.13.tar.bz2 cd hdf5-1.8.13 ./configure --prefix=$HOME/.local/bin/hdf5-1.8.13 make && make install
3. 设置环境变量
export PATH=$HOME/.local/bin/hdf5-1.8.13/bin:$PATH export LD_LIBRARY_PATH=$HOME/.local/bin/hdf5-1.8.13/lib:$LD_LIBRARY_PATH
4. 重新安装R包hdf5r
install.packages('hdf5r')