Commit 8374f3f2 authored by Luis Pedro Coelho's avatar Luis Pedro Coelho
Browse files

ENH LD_LIBRARY_PATH needs to set when using conda

parent ad6281e6
......@@ -57,10 +57,13 @@ environment with all necessary dependencies using the following commands:
conda create --name metaSNV boost htslib pkg-config
source activate metaSNV
export CFLAGS=-I$CONDA_ENV_PATH/include
export LD_LIBRARY_PATH=$CONDA_ENV_PATH/lib:$LD_LIBRARY_PATH
make
Setting the `CFLAGS` environmental variable is necessary so that the boost
includes are found.
includes are found. The `LD_LIBRARY_PATH` variable is not necessary to build
the software, but is necessary to later run it. Thus, it is necessary to reset
it whenever you activate the environment.
If you do not have a C++ compiler, anaconda can also install G++:
......@@ -71,6 +74,7 @@ If you do not have a C++ compiler, anaconda can also install G++:
conda install gcc
export CFLAGS=-I$CONDA_ENV_PATH/include
export LD_LIBRARY_PATH=$CONDA_ENV_PATH/lib:$LD_LIBRARY_PATH
make
### Download reference database
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment