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

error installing - lzma #19

Open
AprilJack opened this issue Oct 27, 2017 · 4 comments
Open

error installing - lzma #19

AprilJack opened this issue Oct 27, 2017 · 4 comments

Comments

@AprilJack
Copy link

I'm trying to install bxtools locally on our server. When I run the command:
./configure --prefix=/home/april/local/bxtools/0.0/

Configure runs fine until I get the error:

checking for library containing lzma_end... no
configure: error: liblzma not found, please install lzma

I installed lzma locally from the resource https://tukaani.org/xz/ and added ~/lzma/5.2.3/bin/ to my path but still get this error. Is bxtools looking for another portion of lzma that I may have not installed? I can't find any library called "lzma_end" in the package I installed? Is this package necessary? Is there a way to tell bxtools to ignore this dependency?

@walaj
Copy link
Owner

walaj commented Oct 29, 2017

What OS are you compiling on? I've heard of issues with this on OS X.

The dependency comes not from bxtools, but from htslib. (see this thread). It is needed for CRAM decoding, and being able to compile htslib on your system would be important for other apps as well.

And just to make sure, are you adding your installed lzma to your PATH, or to LD_LIBRARY_PATH? You would want the latter.

@AprilJack
Copy link
Author

Hmmm. I still can't seem to fix this problem. I'm attempting to install bxtools locally on a shared computing resource for which I don't have root access. It's a 64-bit Linux system. I have programs installed locally that depend on the htslib internally (samtools, bcftools). I have also installed htslib separately without issue, to see if that would help. I have added lzma and htslib to my LD_LIBRARY_PATH but I still get the same error.

@MrsLaviniaG
Copy link

I had the same error, try:
apt-get install -y liblzma-dev

Worked for me.

@AmberFu
Copy link

AmberFu commented May 24, 2018

I have the same error too. And try with apt-get install -y liblzma-dev is work for me! Thanks @MrsLaviniaG !!

But after this error, I have another error say:

checking for library containing BZ2_bzBuffToBuffCompress... no
configure: error: libbz2 not found, please install bz2

So, I try with:

apt-get install libbz2-dev

And it work !

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