Closed Sourin-chatterjee closed 2 years ago
It looks like your Linux is unable to dynamically link your HDF5 library when running the SpinParser executable.
Usually, your Linux distribution should automatically set the correct search path to locate the library when installing the libhdf5-dev
package, but that didn't seem to work on your system.
There are a couple of things you can try:
locate libhdf5.so.103
libhdf5-103
, which contains the shared HDF5 library files and should usually be automatically installed as a dependency of the libhdf5-dev
packageLD_LIBRARY_PATH
, e.g. LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/your/library/directory
I hope this helps!
Thank you, sir. It worked.
I am facing an error message-
SpinParser | install bin/SpinParser --debugLattice examples/square-Heisenberg.xml bin/SpinParser: error while loading shared libraries: libhdf5.so.103: cannot open shared object file: No such file or directory
I am using Linux lite.