metabat installation problem with conda
2
0
Entering edit mode
4.7 years ago
schlogl ▴ 160

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

software error • 3.7k views
ADD COMMENT
1
Entering edit mode

Like the error says: it can't find libdeflate on 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.

ADD REPLY
1
Entering edit mode
4.7 years ago
onestop_data ▴ 330

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)

ADD COMMENT
0
Entering edit mode

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.

ADD REPLY
1
Entering edit mode
4.6 years ago
omoyne ▴ 10

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

ADD COMMENT
0
Entering edit mode

What does this mean? bioconda/label/cf201901

Is it a part of the bioconda channel? I don't get it.

ADD REPLY

Login before adding your answer.

Traffic: 1766 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6