CNVnator Compile issue
Hi all, Im trying to install CNVnator. make gives the following error. Any help will be appreciated. The os is centos 7.2
make
Compiling with parallel (OpenMP) support
g++ -O3 -std=c++11 -DCNVNATOR_VERSION=\"v0.3.3\" -fopenmp -o cnvnator obj/cnvnator.o obj/EXOnator.o obj/HisMaker.o obj/AliParser.o obj/Genotyper.o obj/Interval.o obj/Genome.o /home/biouser/bin/CNVnator/src/samtools/libbam.a /home/biouser/bin/CNVnator/src/samtools/htslib-1.4/libhts.a -lz -L/home/biouser/bin/CNVnator/yeppp-1.0.0/binaries/linux/x86_64/ -lyeppp -L/home/biouser/bin/root/lib -lCore -lRIO -lHist -lGraf -lGpad -lTree -lMathCore
/bin/ld: /home/biouser/bin/CNVnator/src/samtools/htslib-1.4/libhts.a(plugin.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib64/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [cnvnator] Error 1
• 4,099 views
•
link
1 answer
This issue is solved. Thanks to h.mon . I copied samtools-1.2 files to src/samtools dir and executed make. It executed without any errors. While running cnvnator I faced this error
cnvnator: error while loading shared libraries: libyeppp.so: cannot open shared object file: No such file or directory
It was solved by exporting
export YEPPPLIBDIR=/home/biouser/bin/CNVnator/yeppp-1.0.0/binaries/linux/x86_64
export LD_LIBRARY_PATH=$YEPPPLIBDIR:$LD_LIBRARY_PATH
• 0 views
•
link
Log in to answer this question.
Have you seen this issue on CNVnator site?
according to that link I tried to compile using samtools-1.2. now it gives
The issue is solved. I was executing sudo make, instead I tried make and it compiled successfully
cnvnatorwould be a very logical tag for this question - as such the developer(s) can easily find your thread.noted and I have updated the tag. thanks