Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install error - cannot find -lcurses #5

Closed
stephenwilliams22 opened this issue Jan 31, 2017 · 2 comments
Closed

Install error - cannot find -lcurses #5

stephenwilliams22 opened this issue Jan 31, 2017 · 2 comments

Comments

@stephenwilliams22
Copy link

when I run sh make.sh I get this error. any suggestions?

make[2]: Leaving directory `/mnt/home/stephen/Apps/LRSIM/DWGSIMSrc/samtools/misc' gcc -g -Wall -O3 -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 /mnt/home/stephen/.linuxbrew/bin/ld: cannot find -lcurses collect2: error: ld returned 1 exit status make[1]: *** [samtools] Error 1 make[1]: Leaving directory `/mnt/home/stephen/Apps/LRSIM/DWGSIMSrc/samtools' make: *** [all-recur] Error 1

Also FYI, the first step of the install should be cd LRSIM not cd 10xReadsSimulator

@aquaskyline
Copy link
Owner

you need to install the 'ncurses' library.

You can get more details on installing the library here:
https://www.cyberciti.biz/faq/linux-install-ncurses-library-headers-on-debian-ubuntu-centos-fedora/

Please notice that you need root to install a new library. If you are using a shared computing grid, you might wanna write to the administrators.

@stephenwilliams22
Copy link
Author

Thanks, I believe this fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants