Software installation problemreference to `gzopen64'
I am trying to install a software package samtools0.1.19. while i give make command it gives error as
gcc -g -Wall -O2 -o samtools bam_tview.o bam_plcmd.o sam_view.o bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o bamtk.o kaln.o bam2bcf.o bam2bcf_indel.o errmod.o sample.o cut_target.o phase.o bam2depth.o padding.o bedcov.o bamshuf.o bam_tview_curses.o bam_tview_html.o libbam.a -Lbcftools -lbcf -lcurses -lm -lz -lpthread
phase.o: In function `loadpos':
/illumina/data/galaxy/apps/samtools-0.1.19/phase.c:475: undefined reference to `gzopen64'
bedcov.o: In function `main_bedcov':
/illumina/data/galaxy/apps/samtools-0.1.19/bedcov.c:69: undefined reference to `gzopen64'
libbam.a(bam_import.o): In function `__bam_get_lines':
/illumina/data/galaxy/apps/samtools-0.1.19/bam_import.c:76: undefined reference to `gzopen64'
libbam.a(bam_import.o): In function `sam_open':
/illumina/data/galaxy/apps/samtools-0.1.19/bam_import.c:472: undefined reference to `gzopen64'
libbam.a(bam_import.o): In function `sam_header_read2':
/illumina/data/galaxy/apps/samtools-0.1.19/bam_import.c:126: undefined reference to `gzopen64'
libbam.a(bedidx.o):/illumina/data/galaxy/apps/samtools-0.1.19/bedidx.c:107: more undefined references to `gzopen64' follow
collect2: ld returned 1 exit status
make[1]: *** [samtools] Error 1
make[1]: Leaving directory `/illumina/data/galaxy/apps/samtools-0.1.19'
make: *** [all-recur] Error 1
I tried installing dependend packages and even used elrepo for redhat linux.. (http://elrepo.org/tiki/tiki-index.php) but it doesnt work..
Any suggestion to rectify the issue is very much appericiated..
I am trying to install a software package samtools0.1.19. while i give make command it gives error as
gcc -g -Wall -O2 -o samtools bam_tview.o bam_plcmd.o sam_view.o bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o bamtk.o kaln.o bam2bcf.o bam2bcf_indel.o errmod.o sample.o cut_target.o phase.o bam2depth.o padding.o bedcov.o bamshuf.o bam_tview_curses.o bam_tview_html.o libbam.a -Lbcftools -lbcf -lcurses -lm -lz -lpthread
phase.o: In function `loadpos':
/illumina/data/galaxy/apps/samtools-0.1.19/phase.c:475: undefined reference to `gzopen64'
bedcov.o: In function `main_bedcov':
/illumina/data/galaxy/apps/samtools-0.1.19/bedcov.c:69: undefined reference to `gzopen64'
libbam.a(bam_import.o): In function `__bam_get_lines':
/illumina/data/galaxy/apps/samtools-0.1.19/bam_import.c:76: undefined reference to `gzopen64'
libbam.a(bam_import.o): In function `sam_open':
/illumina/data/galaxy/apps/samtools-0.1.19/bam_import.c:472: undefined reference to `gzopen64'
libbam.a(bam_import.o): In function `sam_header_read2':
/illumina/data/galaxy/apps/samtools-0.1.19/bam_import.c:126: undefined reference to `gzopen64'
libbam.a(bedidx.o):/illumina/data/galaxy/apps/samtools-0.1.19/bedidx.c:107: more undefined references to `gzopen64' follow
collect2: ld returned 1 exit status
make[1]: *** [samtools] Error 1
make[1]: Leaving directory `/illumina/data/galaxy/apps/samtools-0.1.19'
make: *** [all-recur] Error 1
I tried installing dependend packages and even used elrepo for redhat linux.. (http://elrepo.org/tiki/tiki-index.php) but it doesnt work..
Any suggestion to rectify the issue is very much appericiated..
No comments:
Post a Comment