When I complie samtools, there is a problem:
make[1]: Entering directory '/database/yuhao/CNV/CNVnator_v0.2.5/src/samtools-0.1.6'
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -D_CURSES_LIB=1 bgzf.c -c bgzf.c
/ngs/self-software/gcc4.6.2/libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/cc1:error while loading shared libraries: libmpc.so.2: cannot open shared object file:No such file or directory
make[1]: ***[bgzf.o] Error 1
make[1]: Leaving directory '/database/yuhao/CNV/CNVnator_v0.2.5/src/samtools-0.1.6'
make: *** [all-recur] Error 1
Can anyone tell me how to solve this problem?
make[1]: Entering directory '/database/yuhao/CNV/CNVnator_v0.2.5/src/samtools-0.1.6'
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -D_CURSES_LIB=1 bgzf.c -c bgzf.c
/ngs/self-software/gcc4.6.2/libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/cc1:error while loading shared libraries: libmpc.so.2: cannot open shared object file:No such file or directory
make[1]: ***[bgzf.o] Error 1
make[1]: Leaving directory '/database/yuhao/CNV/CNVnator_v0.2.5/src/samtools-0.1.6'
make: *** [all-recur] Error 1
Can anyone tell me how to solve this problem?
Comment