hcdenbakker / sepia

taxonomic classifier based on the kraken2 algorithms and more
GNU General Public License v3.0
45 stars 3 forks source link

error: linking with x86_64-conda-linux-gnu-cc failed: exit status: 1 #34

Open Valentin-Bio-zz opened 2 years ago

Valentin-Bio-zz commented 2 years ago

Hello Im trying to install sepia using the rust package provided by conda

This is what I have done:

conda create -n sepia -y && conda activate sepia git clone https://github.com/hcdenbakker/sepia.git cd sepia cargo build --release

this is the error message that I got:

error: linking with /home/miniconda3/envs/sepia/bin/x86_64-conda-linux-gnu-cc failed: exit status: 1

is there a problem with installing rust via conda ? the file "x86_64-conda-linux-gnu-cc" existis but it seems rust can not use it for a rason that i dont understand

the server taht im using is centOS 7.3.

hcdenbakker commented 2 years ago

Hi Valentin-Bio,

Thank you for your interest in sepia! This sounds like a conda/Rust problem not something that has anything to do with sepia. I tried to recreate your error on my server (running Ubuntu 18.04.6 LTS), but it successfully compiled in the conda environment I created (I am running conda 4.10.3 on my server). It seems the same issue has popped up for R and Python with older versions of conda (see https://stackoverflow.com/questions/46450912/unable-to-execute-x86-64-conda-cos6-linux-gnu-gcc-no-such-file-or-directory). I have successfully compiled sepia on CentOS VMs in the past.

Hope this helps, -Henk