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

latest CAVA release is not installing gives undefined symbol error #13

Open
swatibodh opened this issue Jun 9, 2020 · 2 comments
Open

Comments

@swatibodh
Copy link

/CAVA-1.2.3$ cava -c config.txt -i /home/swati/snpEff_latest_core/snpEff/glioma2/GRCh37/bow_gatk.vcf -o bow_gatk_cava
/home/swati/.local/bin/cava: line 4: /home/swati/.local/bin/activate: No such file or directory
Traceback (most recent call last):
File "/home/swati/.local/bin/CAVA.py", line 4, in
from cava_ import main
File "/home/swati/.local/lib/python2.7/site-packages/cava_/main.py", line 10, in
import pysam
File "/home/swati/.local/lib/python2.7/site-packages/pysam/init.py", line 1, in
from pysam.csamtools import *
ImportError: /home/swati/.local/lib/python2.7/site-packages/pysam/csamtools.so: undefined symbol: update_posmap

@vishramt7
Copy link

Hi,
I am facing the same issue on our Ubuntu20.04 server. Were you able to fix it ?
Thanks,
Vishram

@JeffreyMaurer
Copy link

JeffreyMaurer commented Aug 18, 2023

I hit a similar error when running get_refmeta from the modtools python package when our Ubuntu server had pysam 0.7.6 and 0.7.7 for python 2.7

Running sudo easy_install pysam==0.20.0 resolved this specific issue:

from pysam.csamtools import *
ImportError: /home/USER/.local/lib/python2.7/site-packages/pysam/csamtools.so: undefined symbol: update_posmap

My assumption is that it's because it's the first "static inline" function the linker gets to and old pysams have incompatible flags? Not an expert, but it's the only function in that particular file that has "static inline" modifier.

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

3 participants