axiak / pyre2

Python wrapper for RE2
BSD 3-Clause "New" or "Revised" License
295 stars 39 forks source link

Make it work in mac os Maverics #23

Closed gawry closed 9 years ago

gawry commented 10 years ago

import re2 Traceback (most recent call last): File "", line 1, in ImportError: dlopen(/Users/user/.virtualenvs/spamfeed/lib/python2.7/site-packages/re2.so, 2): Symbol not found: ZN3re23RE213GlobalReplaceEPNSt3112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKS0_RKNS_11StringPieceE Referenced from: /Users/user/.virtualenvs/spamfeed/lib/python2.7/site-packages/re2.so Expected in: flat namespace in /Users/user/.virtualenvs/spamfeed/lib/python2.7/site-packages/re2.so

kmike commented 10 years ago

It works for me on Maverics. I've installed re2 library using homebrew.

ghost commented 10 years ago

Same here, it is necessary to install re2 library manually. I think this issue should be closed sine there is #27 issue that describes problem with re2 library.