Dear Sir/Madam,

Recently, when i installed the samtools-1.2 on redhat 6.6 system, i got the 
following problem:
 
gcc -pthread  -o samtools bam_index.o bam_plcmd.o sam_view.o bam_cat.o bam_md.o 
bam_reheader.o bam_sort.o bedidx.o kprobaln.o bam_rmdup.o bam_rmdupse.o 
bam_mate.o bam_stat.o bam_color.o bamtk.o bam2bcf.o bam2bcf_indel.o errmod.o 
sample.o cut_target.o phase.o bam2depth.o padding.o bedcov.o bamshuf.o faidx.o 
stats.o stats_isize.o bam_flags.o bam_split.o bam_tview.o bam_tview_curses.o 
bam_tview_html.o bam_lpileup.o libbam.a htslib-1.2.1/libhts.a  -lcurses  -lm -lz
bedidx.o: In function `bed_read':
bedidx.c:(.text+0x1650): undefined reference to `gzopen64'
phase.o: In function `main_phase':
phase.c:(.text+0x289f): undefined reference to `gzopen64'
bedcov.o: In function `main_bedcov':
bedcov.c:(.text+0x1e0): undefined reference to `gzopen64'
collect2: error: ld returned 1 exit status
make: *** [samtools] Error 1

I have installed the zlib-1.2.8, and other pre-requirments all are right. I had 
searched many informations abouts the problem from the internet, but the 
problem still coudn't be solved. 

Can some people want to help me with pleasure, and I will very appreciate!
Thanks!

Best wishes!



Chuan-Lin Yin
PhD Candidate
Institute of Insect Sciences, Zhejiang University
866 Yuhangtang Road, Hangzhou, 310058, China
E-mail: yincl2...@126.com
Tel: +8617705169862
------------------------------------------------------------------------------
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to