-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
While installing my project dependencies in Docker I encountered an issue with the binary dependency absence:
7: from /usr/local/bundle/gems/spelly-0.0.3/lib/spelly.rb:1:in `<top (required)>'
6: from /usr/local/bundle/gems/spelly-0.0.3/lib/spelly.rb:1:in `require'
5: from /usr/local/bundle/gems/hunspell-ffi-0.1.2/lib/hunspell-ffi.rb:3:in `<top (required)>'
4: from /usr/local/bundle/gems/hunspell-ffi-0.1.2/lib/hunspell-ffi.rb:4:in `<class:Hunspell>'
3: from /usr/local/bundle/gems/hunspell-ffi-0.1.2/lib/hunspell-ffi.rb:6:in `<module:C>'
2: from /usr/local/bundle/gems/ffi-1.11.3/lib/ffi/library.rb:99:in `ffi_lib'
1: from /usr/local/bundle/gems/ffi-1.11.3/lib/ffi/library.rb:99:in `map'
/usr/local/bundle/gems/ffi-1.11.3/lib/ffi/library.rb:145:in `block in ffi_lib': Could not open library 'libhunspell': libhunspell: cannot open shared object file: No such file or directory. (LoadError)
Could not open library 'libhunspell.so': libhunspell.so: cannot open shared object file: No such file or directory.
Could not open library 'libhunspell-1.2': libhunspell-1.2: cannot open shared object file: No such file or directory.
Could not open library 'libhunspell-1.2.so': libhunspell-1.2.so: cannot open shared object file: No such file or directory.
Could not open library 'libhunspell-1.2.so.0': libhunspell-1.2.so.0: cannot open shared object file: No such file or directoryShouldn't libhunspell come with the gem? Or, if not, perhaps it should be mentioned in README as an external thing which is supposed to be pre-installed before using the lib.
Here are the images I'm using: 2.6.5-stretch which it its turn based on this official image buildpack-deps
which is essentially Debian.
Whatever the solution is going to be, thanks in advance. π
bronislav
Metadata
Metadata
Assignees
Labels
No labels