I have conda installed. conda install -c bioconda or conda-forge... but now I have ot that error message. I will check if I get that lib.
Hi guys I tried to install metabat2 with conda however when I tried to use I got this error:
metabat2: error while loading shared libraries: libdeflate.so.0: cannot open shared object file: No such file or directory
Then I was check the site of the program and the installation says:
#stable release version
wget https://bitbucket.org/berkeleylab/metabat/get/master.tar.gz
tar xzvf master.tar.gz
cd berkeleylab-metabat-*
#run the installation script
mkdir build && cd build && cmake .. [ -DCMAKE_INSTALL_PREFIX=/path/to/install ] && make && make test && make install
I have a conda environment so my doubt is about where install the program:
[ -DCMAKE_INSTALL_PREFIX=/path/to/install ]
To not mess with my environment. Do you have any suggestion? Thank you
Paulo
2 answers
How are you installing it with conda? are you activating the bioconda channel?
Please check section 2. (https://bioconda.github.io/user/install.html#install-conda)
I just had the same problem.
I first installed metabat2 using:
conda install -c bioconda metabat2
And got same error than Paulo when running it.
Then I re-installed, this time using:
conda install -c bioconda/label/cf201901 metabat2
And now it runs properly!
Best,
Oriane
What does this mean? bioconda/label/cf201901
Is it a part of the bioconda channel? I don't get it.
Log in to answer this question.
Like the error says: it can't find
libdeflateon your system. Depending on your OS, do a Google search to find if there is a prepackaged version of libdeflate. If not, you can get it from here and compile/install on your own.