Skip to content

Installed ok, but error when running on OS X - Symbol not found: __ZNSs4_Rep20_S_empty_rep_storageE #37

Description

@subblue

Everything installed ok, but when I try running imposm I get the following error:

» imposm --help
Enabling Shapely speedups.
Traceback (most recent call last):
  File "/usr/local/bin/imposm", line 9, in <module>
    load_entry_point('imposm==2.5.0', 'console_scripts', 'imposm')()
  File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 353, in load_entry_point
  File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 2321, in load_entry_point
  File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 2048, in load
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/imposm/app.py", line 44, in <module>
    from imposm.cache import OSMCache
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/imposm/cache/__init__.py", line 1, in <module>
    from . osm import OSMCache
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/imposm/cache/osm.py", line 19, in <module>
    from . tc import DeltaCoordsDB, CoordDB, NodeDB, WayDB, InsertedWayDB, RelationDB
  File "tc.pyx", line 312, in init imposm.cache.tc (imposm/cache/tc.c:9434)

ImportError: dlopen(/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/imposm/cache/internal.so, 2): Symbol not found: __ZNSs4_Rep20_S_empty_rep_storageE

  Referenced from: /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/imposm/cache/internal.so
  Expected in: flat namespace
 in /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/imposm/cache/internal.so

I'm on OSX 10.9.2 using python 2.7.6 installed via brew.
The other pip packages I have installed are:

» pip list
Cython (0.20.1)
distribute (0.7.3)
GDAL (1.10.0)
imposm (2.5.0)
imposm.parser (1.0.5)
pip (1.5.4)
psycopg2 (2.5.2)
Rtree (0.7.0)
setuptools (2.2)
Shapely (1.3.0)
virtualenv (1.11.4)
wsgiref (0.1.2)

Any suggestions? (other than using imposm3, which I do have running ok!)
A similar ImportError Symbol not found: __ZNSs4_Rep20_S_empty_rep_storageE was fixed for this python library, but I don't know how it would apply in this case.
Thanks.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions