You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything went fine, but when I tested library, e.g.:
python -c"from imposm.parser.pbf import OSMPBF"
it reported error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: dlopen(/Users/rlujo/env/invh/busni/pybiz/lib/python2.7/site-packages/imposm/parser/pbf/OSMPBF.so,
2): Symbol not found: __ZN6google8protobuf11MessageLite15ParseFromStringERKSs
Referenced from: /Users/rlujo/env/invh/busni/pybiz/lib/python2.7/site-packages/imposm/parser/pbf/OSMPBF.so
Expected in: flat namespace
in /Users/rlujo/env/invh/busni/pybiz/lib/python2.7/site-packages/imposm/parser/pbf/OSMPBF.so
I have spent some time on investigation, it seems that there is some problem in linking osmpbf.so and libprotobuf.dylib, the signature of the method ZN6google8protobuf11MessageLite15ParseFromStringERK... is mismatched.
Solution in my case was upgrading XCode from 4.8 to 6.2 and reinstalling protobuf and imposm.parser:
I had the same problem, but this solution didn't fix it for me. I was actually using a conda environment. After many tries I created a new virtualenv, not using conda, that worked for a reason unknown to me. Both were with python.2.7.10.
Hi,
I installed on OSX like this:
Everything went fine, but when I tested library, e.g.:
it reported error:
I have spent some time on investigation, it seems that there is some problem in linking osmpbf.so and libprotobuf.dylib, the signature of the method ZN6google8protobuf11MessageLite15ParseFromStringERK... is mismatched.
Solution in my case was upgrading XCode from 4.8 to 6.2 and reinstalling protobuf and imposm.parser:
Hope this will help someone.
The text was updated successfully, but these errors were encountered: