netPark / node-openalpr

NodeJS Wrapper for OpenALPR
GNU Affero General Public License v3.0
89 stars 78 forks source link

Broken on OSX El Capitan (10.11.2) #4

Closed trasalghul closed 8 years ago

trasalghul commented 8 years ago

Installed openalpr from brew, getting

  dyld: lazy symbol binding failed: Symbol not found: __ZN4alpr4AlprC1ESsSsSs
  Referenced from: /Users/cipher/WebstormProjects/reporty/node_modules/node-openalpr/release/darwin_x64/node_openalpr.node
  Expected in: dynamic lookup

dyld: Symbol not found: __ZN4alpr4AlprC1ESsSsSs
  Referenced from: /Users/cipher/WebstormProjects/reporty/node_modules/node-openalpr/release/darwin_x64/node_openalpr.node
  Expected in: dynamic lookup

[1]    59801 trace trap  node app.js

gcc -v output

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.2.0
Thread model: posix
kjlaw89 commented 8 years ago

This is likely related to updating the header files for OpenALPR 2.2. Try to rebuild everything again and see if it works for you.

hyuni commented 8 years ago

@trasalghul this issue fixed PR #9