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

samtools error with ncurses #637

Closed
daler opened this issue Jan 19, 2016 · 3 comments
Closed

samtools error with ncurses #637

daler opened this issue Jan 19, 2016 · 3 comments

Comments

@daler
Copy link
Member

daler commented Jan 19, 2016

In the bioconda/bioconda-builder container, samtools works fine and therefore the build passes. But on Ubuntu 14.04, I get a libncurses error:

$ conda create -n samtools-test -c bioconda samtools
$ source activate samtools-test
$ samtools
samtools: symbol lookup error: /lib/x86_64-linux-gnu/libncurses.so.5: undefined symbol: _nc_putchar

Looking at the other available versions, I see that in v1.1 the build.sh fixes some stuff with ncurses. But I get the same problem with v1.1:

$ conda create -n samtools-test-1.1 -c bioconda "samtools==1.1"
$ source activate samtools-test-1.1
$ samtools
samtools: symbol lookup error: /lib/x86_64-linux-gnu/libncurses.so.5: undefined symbol: _nc_putchar

I'm not sure how to fix this, mostly because I'm unfamiliar with C and how libs are handled. Any ideas?

@daler
Copy link
Member Author

daler commented Jan 19, 2016

Never mind, found #246. Using

conda install -n samtools-test -c r ncurses

fixed this. Definitely not obvious, but I don't see an obvious fix either.

@daler daler closed this as completed Jan 19, 2016
@johanneskoester
Copy link
Contributor

The correct fix would be my PR. In the meantime, we can assume that people have the R channel active as well (it is mentioned on the Bioconda homepage that this is a requirement).

@daler
Copy link
Member Author

daler commented Jan 20, 2016

Ah, didn't see that PR. And I missed that addition to the docs -- I will re-read them now!

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