Reputation: 1337
I'm currently trying to install this GitHub library on a Ubuntu 18.04 machine and I followed all the installation steps stated on the Github page.
However, when I try to call the function siemens_to_ismrmrd
in the command line, I get the following error:
error while loading shared libraries: libhdf5.so.101: cannot open shared object file: No such file or directory
libhdf5 is installed on my machine, though. Typing locate libhdf5.so
in the command line gives
/home/username/anaconda3/lib/libhdf5.so
/home/username/anaconda3/lib/libhdf5.so.101
/home/username/anaconda3/lib/libhdf5.so.101.0.0
/home/username/anaconda3/pkgs/hdf5-1.10.1-h9caa474_1/lib/libhdf5.so
/home/username/anaconda3/pkgs/hdf5-1.10.1-h9caa474_1/lib/libhdf5.so.101
/home/username/anaconda3/pkgs/hdf5-1.10.1-h9caa474_1/lib/libhdf5.so.101.0.0
In another question here on SO, it was suggested to run sudo ldconfig
. This also didn't help in my case, the same error still pops up.
The command echo $LD_LIBRARY_PATH
which is recommended to look at in other questions returns nothing.
How can I solve this issue?
Upvotes: 3
Views: 21080
Reputation: 1792
This worked for me on Debian 10 (source):
sudo apt install pkg-config libhdf5-dev
Upvotes: 5
Reputation: 115
Try sudo apt install python3-h5py
after reinstalling. Solved the error for me in linux-aarch64
Upvotes: 2