Since upgrading I've been getting this error when running my tests:
dyld: lazy symbol binding failed: Symbol not found: __ZN8HunspellC2EPKcS1_S1_
Referenced from: /usr/lib/libhunspell-1.2.dylib
Expected in: flat namespace
dyld: Symbol not found: __ZN8HunspellC2EPKcS1_S1_
Referenced from: /usr/lib/libhunspell-1.2.dylib
Expected in: flat namespace
- I've tried reinstalling the gem, fresh ruby install, ruby 1.9.3 and 2.1.2
- It's specific to the system hunspell version, but I can't see how to stop ffi loading that without editing the ffi-hunspell gem
- I've installed the updated xcode app and command line tools with xcode-select --install, which fixed some problems with nokogiri but not with this
I think it's an issue with Apple's hunspell 1.2 build, as if I remove 1.2 from the ffi-hunspell gem (with bundle open ffi-hunspell) the tests pass, assumedly loading the hunspell 1.3 I've installed with homebrew.
Is there a way to restrict where ffi looks for libraries?
Also, what's up with the system library?