bxtools
bxtools copied to clipboard
error installing - lzma
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?
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.
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.
I had the same error, try: apt-get install -y liblzma-dev
Worked for me.
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 !