Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./kallisto: error while loading shared libraries: libhdf5.so.7: cannot open shared object file: #79

Open
stephenturner opened this issue Aug 31, 2015 · 3 comments

Comments

@stephenturner
Copy link

I built HDF5 as instructed, (but not in my home directory). Added the lib directory to LD_LIBRARY_PATH.

Running kallisto gives me the error ./kallisto: error while loading shared libraries: libhdf5.so.7: cannot open shared object file: No such file or directory

I solved this by going into /path/to/hdf5-1.8.15-patch1/lib and running ln -s libhdf5.so libhdf5.so.7. Not sure if others have experienced this, but this worked for me.

@jvivian
Copy link

jvivian commented Oct 21, 2015

Thanks for the fix @stephenturner, I had this same issue when building Kallisto into a Docker container.

@mschilli87
Copy link

I also built HDF5 locally (from source version 1.8.15) and invoke kallisto using LD_LIBRARY_PATH=/hdf5/lib/path:$LD_LIBRARY_PATH kallisto without any library loading problems.

@matrs
Copy link

matrs commented Aug 21, 2017

I just had this problem (08-2017, more recent hdf5 version involved) and I thought that if I remove and install again kallisto, it should use the hdf5 currently installed in my system, which wasn't the version kallisto was expecting. That worked and the problem was fixed.
I think all the packages that use a x library should know when that x library gets updated and rebuild against that new version if possible, or complain. Probably this doesn't usually happen and this is a particular problem with this package, because automatic dependency resolution is one of the main points of using a package manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants