sepia icon indicating copy to clipboard operation
sepia copied to clipboard

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

Open Valentin-Bio-zz opened this issue 3 years ago • 1 comments

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.

Valentin-Bio-zz avatar Feb 08 '22 22:02 Valentin-Bio-zz

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

hcdenbakker avatar Feb 10 '22 20:02 hcdenbakker