Skip to content
This repository has been archived by the owner on Nov 9, 2018. It is now read-only.

Broken in latest release #18

Closed
baelter opened this issue Nov 9, 2017 · 3 comments
Closed

Broken in latest release #18

baelter opened this issue Nov 9, 2017 · 3 comments

Comments

@baelter
Copy link

baelter commented Nov 9, 2017

15:01:52 web.1  | ! Unable to load application: LoadError: Could not open library 'sodium': dlopen(sodium, 5): image not found.
15:01:52 web.1  | Could not open library 'libsodium.dylib': dlopen(libsodium.dylib, 5): image not found
15:01:52 web.1  | bundler: failed to load command: puma (/Users/anders/.rbenv/versions/2.4.1/bin/puma)
15:01:52 web.1  | LoadError: Could not open library 'sodium': dlopen(sodium, 5): image not found.
15:01:52 web.1  | Could not open library 'libsodium.dylib': dlopen(libsodium.dylib, 5): image not found
15:01:52 web.1  |   /Users/anders/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/ffi-1.9.18/lib/ffi/library.rb:147:in `block in ffi_lib'```

Gemfile.lock
...
 akami (1.3.1)
      gyoku (>= 0.4.0)
      nokogiri
    amq-protocol (2.2.0)
    backports (3.10.3)
    base64url (1.0.1)
    builder (3.2.3)
    bunny (2.7.2)
      amq-protocol (>= 2.2.0)
    excon (0.59.0)
    faraday (0.13.1)
      multipart-post (>= 1.2, < 3)
    ffi (1.9.18)
    gyoku (1.3.1)
      builder (>= 2.1.2)
    haml (5.0.4)
      temple (>= 0.8.0)
      tilt
    httpauth (0.2.1)
    httpi (2.4.2)
      rack
      socksify
    influxdb (0.5.1)
    json (2.1.0)
    jwt (2.1.0)
    mail (2.7.0)
      mini_mime (>= 0.1.1)
    manifoldco_signature (0.1.4)
      base64url (~> 1.0.1)
      rbnacl (~> 3.4.0)
      rbnacl-libsodium (~> 1.0.11)
    mini_mime (1.0.0)
    mini_portile2 (2.3.0)
    multi_json (1.12.2)
    multipart-post (2.0.0)
    mustermann (1.0.1)
    nokogiri (1.8.1)
      mini_portile2 (~> 2.3.0)
    nori (2.6.0)
    oauth2 (0.6.1)
      faraday (~> 0.7)
      httpauth (~> 0.1)
      multi_json (~> 1.3)
    oj (3.3.9)
    pg (0.21.0)
    puma (3.10.0)
    rack (2.0.3)
    rack-contrib (1.2.0)
      rack (>= 0.9.1)
    rack-protection (2.0.0)
      rack
    rack-ssl-enforcer (0.2.9)
    rbnacl (3.4.0)
      ffi
    rbnacl-libsodium (1.0.15.1)
      rbnacl (>= 3.0.1)
    savon (2.11.2)
      akami (~> 1.2)
      builder (>= 2.1.2)
      gyoku (~> 1.2)
      httpi (~> 2.3)
      nokogiri (>= 1.4.0)
      nori (~> 2.4)
      wasabi (~> 3.4)
    sequel (5.2.0)
    sequel_pg (1.8.0)
      pg (>= 0.18.0)
      sequel (>= 4.34.0)
    sinatra (2.0.0)
      mustermann (~> 1.0)
      rack (~> 2.0)
      rack-protection (= 2.0.0)
      tilt (~> 2.0)
    sinatra-contrib (2.0.0)
      backports (>= 2.0)
      multi_json
      mustermann (~> 1.0)
      rack-protection (= 2.0.0)
      sinatra (= 2.0.0)
      tilt (>= 1.3, < 3)
    sinatra-flash (0.3.0)
      sinatra (>= 1.0.0)
    socksify (1.7.1)
    temple (0.8.0)
    terminal-table (1.8.0)
      unicode-display_width (~> 1.1, >= 1.1.1)
    thor (0.20.0)
    tilt (2.0.8)
    unicode-display_width (1.3.0)
    wasabi (3.5.0)
      httpi (~> 2.0)
      nokogiri (>= 1.4.2)
...
@tarcieri
Copy link
Contributor

tarcieri commented Nov 9, 2017

Are you on OS X? What version?

I'm on High Sierra (10.13.1) and cannot reproduce your problem:

$ ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
$ gem install rbnacl-libsodium
Fetching: rbnacl-libsodium-1.0.15.1.gem (100%)
Building native extensions.  This could take a while...
Successfully installed rbnacl-libsodium-1.0.15.1
Parsing documentation for rbnacl-libsodium-1.0.15.1
Installing ri documentation for rbnacl-libsodium-1.0.15.1
Done installing documentation for rbnacl-libsodium after 0 seconds
1 gem installed
$ pry
[1] pry(main)> require "rbnacl/libsodium"
=> true
[2] pry(main)> RbNaCl::Sodium::Version::STRING
=> "1.0.15"

@baelter
Copy link
Author

baelter commented Nov 10, 2017

Ok, I only did require "rbnacl". Works when I require "rbnacl/libsodium". What changed though?

@baelter baelter closed this as completed Nov 10, 2017
@tarcieri
Copy link
Contributor

Nothing else notable changed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants