lixin6135 / pysam

Automatically exported from code.google.com/p/pysam
0 stars 0 forks source link

Symbol not found: ___sync_fetch_and_add #139

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi!

I am having troubles importing pysam. I have installed pyrex 0.9.9 and 
samtools-0.1.19. Whenever I try "import pysam" I get the following error:

>>> import pysam
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pysam-0.7.5-py2.6-macosx-10.3-fat.egg/pysam/__init__.py", line 1, in <module>
    from pysam.csamtools import *
ImportError: 
dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pack
ages/pysam-0.7.5-py2.6-macosx-10.3-fat.egg/pysam/csamtools.so, 2): Symbol not 
found: ___sync_fetch_and_add
  Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pysam-0.7.5-py2.6-macosx-10.3-fat.egg/pysam/csamtools.so
  Expected in: dynamic lookup

I would be glad for any help how to solve this issue.
I am using Mac OS X 10.6.8
Python 2.6.5

Thanks,
Kate

Original issue reported on code.google.com by katarzyn...@gmail.com on 18 Oct 2013 at 3:19

GoogleCodeExporter commented 8 years ago
Hi, 

can you please try python 2.7.3 and the latest pysam?

Python 2.6 is not supported.

Best wishes,
Andreas

Original comment by andreas....@gmail.com on 26 Nov 2013 at 10:05

GoogleCodeExporter commented 8 years ago
I will close this issue for now.

Best wishes,
Andreas

Original comment by andreas....@gmail.com on 19 Feb 2014 at 9:49