I was able to install ffi and bundler after getting ruby dev tools: ( https://docs.microsoft.com/en-us/sql/connect/ruby/step-1-configure-development-environment-for-ruby-development ) Then when I did ruby charlie.rb in the terminal I got this output:
/home/Kalden/.rvm/gems/ruby-2.4.1/gems/ffi-1.9.10/lib/ffi/library.rb:133:in block in ffi_lib': Could not open library 'libsphinxbase': libsphinxbase: cannot open shared object file: No such file or directory. (LoadError) Could not open library 'libsphinxbase.so': libsphinxbase.so: cannot open shared object file: No such file or directory from /home/Kalden/.rvm/gems/ruby-2.4.1/gems/ffi-1.9.10/lib/ffi/library.rb:100:inmap'
from /home/Kalden/.rvm/gems/ruby-2.4.1/gems/ffi-1.9.10/lib/ffi/library.rb:100:in ffi_lib' from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx/api/sphinxbase.rb:5:in'
from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx/api/sphinxbase.rb:3:in <module:API>' from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx/api/sphinxbase.rb:2:in'
from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx/api/sphinxbase.rb:1:in <top (required)>' from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:6:inrequire'
from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:6:in <top (required)>' from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:inrequire'
from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:in <top (required)>' from charlie.rb:2:inrequire'
from charlie.rb:2:in `'
I was able to install ffi and bundler after getting ruby dev tools: ( https://docs.microsoft.com/en-us/sql/connect/ruby/step-1-configure-development-environment-for-ruby-development ) Then when I did ruby charlie.rb in the terminal I got this output: /home/Kalden/.rvm/gems/ruby-2.4.1/gems/ffi-1.9.10/lib/ffi/library.rb:133:in'
from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx/api/sphinxbase.rb:3:in '
from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx/api/sphinxbase.rb:1:in '
block in ffi_lib': Could not open library 'libsphinxbase': libsphinxbase: cannot open shared object file: No such file or directory. (LoadError) Could not open library 'libsphinxbase.so': libsphinxbase.so: cannot open shared object file: No such file or directory from /home/Kalden/.rvm/gems/ruby-2.4.1/gems/ffi-1.9.10/lib/ffi/library.rb:100:in
map' from /home/Kalden/.rvm/gems/ruby-2.4.1/gems/ffi-1.9.10/lib/ffi/library.rb:100:inffi_lib' from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx/api/sphinxbase.rb:5:in
<module:API>' from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx/api/sphinxbase.rb:2:in
<top (required)>' from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:6:in
require' from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx.rb:6:in<top (required)>' from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:in
require' from /home/Kalden/.rvm/gems/ruby-2.4.1/bundler/gems/pocketsphinx-ruby-f2f562bdc66b/lib/pocketsphinx-ruby.rb:1:in<top (required)>' from charlie.rb:2:in
require' from charlie.rb:2:in `Anyone know any fixes?