0
libsndfile.so.1: cannot open shared object file: No such file or directory - /opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/ruby-audio-1.6.1/rubyaudio_ext.so (LoadError)
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/ruby-audio-1.6.1/lib/ruby-audio.rb:6:in `require'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/ruby-audio-1.6.1/lib/ruby-audio.rb:6:in `rescue in <top (required)>'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/ruby-audio-1.6.1/lib/ruby-audio.rb:1:in `<top (required)>'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/json-waveform-0.2.1/lib/json-waveform.rb:3:in `require'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/json-waveform-0.2.1/lib/json-waveform.rb:3:in `<top (required)>'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `require'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `each'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `block in require'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `each'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `require'
/opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler.rb:132:in `require'
/var/app/current/config/application.rb:7:in `<top (required)>'
/var/app/current/config/environment.rb:2:in `require'
/var/app/current/config/environment.rb:2:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>
但是當我檢查作爲libsndfile.so.1:無法打開共享對象文件:沒有這樣的文件或目錄
"ll /opt/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/ruby-audio-1.6.1/"
文件存在有在redhat AWS服務器。
我該如何解決這個問題? 感謝
嘗試'易於得到安裝libsndfile1-dev',然後重試 – itsnikolay
你能粘貼您的passenger.conf文件之上? – error2007s
它是aws redhat機器。通過這種方式,如果我嘗試使用「yum install libsndfile1-dev」,給我下面的消息「無包libsndfile1-devel可用」。 我已經從「http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz」 –