neo4jrb / activegraph

An active model wrapper for the Neo4j Graph Database for Ruby.
http://neo4jrb.io
MIT License
1.4k stars 276 forks source link

Unable to run a new app or upgrade an existing app due to seabolt driver not found. #1618

Closed hraynaud closed 3 years ago

hraynaud commented 3 years ago

Hi I'm Mac OS 10.15.6 and on ruby 2.6.3

I tried upgrading from neo4jrb 9.2.0 to activegraph 10.0.1 after following the upgrade instructions when I try to start the test or development database I get and error similar to following

rake aborted! LoadError: Could not open library 'libseabolt17': dlopen(libseabolt17, 5): image not found. Could not open library 'libseabolt17.dylib': dlopen(libseabolt17.dylib, 5): image not found /Users/herbyraynaud/Code/personal/konmego/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/lib/ffi/library.rb:145:in block in ffi_lib' /Users/herbyraynaud/Code/personal/konmego/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/lib/ffi/library.rb:99:inmap' /Users/herbyraynaud/Code/personal/konmego/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/lib/ffi/library.rb:99:in ffi_lib' /Users/herbyraynaud/Code/personal/konmego/vendor/bundle/ruby/2.6.0/gems/neo4j-ruby-driver-1.7.0/ffi/bolt/library.rb:9:inextended' /Users/herbyraynaud/Code/personal/konmego/vendor/bundle/ruby/2.6.0/gems/neo4j-ruby-driver-1.7.0/ffi/bolt/address_resolver.rb:5:in extend' /Users/herbyraynaud/Code/personal/konmego/vendor/bundle/ruby/2.6.0/gems/neo4j-ruby-driver-1.7.0/ffi/bolt/address_resolver.rb:5:in' /Users/herbyraynaud/Code/personal/konmego/vendor/bundle/ruby/2.6.0/gems/neo4j-ruby-driver-1.7.0/ffi/bolt/address_resolver.rb:4:in `'

error at the end of running the rails install of a new app.

I've tried to install the seabolt driver via homebrew as recommended in the doc like so: brew install michael-simons/homebrew-seabolt/seabolt

While that appears to work i'm still unable to get the app running. When I create a fresh app according to the setup instructions I get a similar error to the one above.

rails aborted! LoadError: Could not open library 'libseabolt17': dlopen(libseabolt17, 5): image not found. Could not open library 'libseabolt17.dylib': dlopen(libseabolt17.dylib, 5): image not found /Users/herbyraynaud/Code/personal/myapp/config/application.rb:18:in <main>' /Users/herbyraynaud/Code/personal/myapp/Rakefile:4:in

' /Users/herbyraynaud/Code/personal/myapp/bin/rails:9:in <top (required)>' /Users/herbyraynaud/Code/personal/myapp/bin/spring:15:in<top (required)>' bin/rails:3:in load' bin/rails:3:in
' (See full trace by running task with --trace)

klobuczek commented 3 years ago

Please follow https://github.com/neo4jrb/neo4j-ruby-driver/blob/master/README.md