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

alignstats fails with error error while loading shared libraries: libhts.so.3: cannot open shared object file: No such file or directory #2

Closed
nitha26 opened this issue Sep 25, 2020 · 2 comments

Comments

@nitha26
Copy link

nitha26 commented Sep 25, 2020

Hi,

I tried to install alignstats in Centos7, configure and make were compiled without error. When I tried to execute alignstats it fails.

Error: ./alignstats: error while loading shared libraries: libhts.so.3: cannot open shared object file: No such file or directory

Could you please help me to figure out why it fails.

Thanks in advance.

@jfarek
Copy link
Owner

jfarek commented Oct 7, 2020

Hi,

Many operating systems like CentOS default to installing HTSlib libraries in /usr/local. Try running the following on the command line to make the HTSlib shared libraries available to AlignStats:

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"

@nitha26
Copy link
Author

nitha26 commented Oct 8, 2020

@jfarek Thank you! It worked.

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

2 participants