2012-09-21 86 views
1

我試圖在我的系統上安裝heroku(64bit ubuntu 12.04),並且在實際安裝時不會引發錯誤。但是,當我嘗試使用heroku登錄時,出現此錯誤:heroku登錄/安裝問題(Ubuntu 12.04)

/usr/lib/ruby/1.8/x86_64-linux/readline.so: libreadline.so.5: cannot open shared object file: No such file or directory - /usr/lib/ruby/1.8/x86_64-linux/readline.so (LoadError) 
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' 
    from /var/lib/gems/1.8/gems/heroku-2.31.4/lib/heroku/command/run.rb:1 
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' 
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' 
    from /var/lib/gems/1.8/gems/heroku-2.31.4/lib/heroku/command.rb:14:in `load' 
    from /var/lib/gems/1.8/gems/heroku-2.31.4/lib/heroku/command.rb:13:in `each' 
    from /var/lib/gems/1.8/gems/heroku-2.31.4/lib/heroku/command.rb:13:in `load' 
    from /var/lib/gems/1.8/gems/heroku-2.31.4/lib/heroku/cli.rb:27:in `start' 
    from /var/lib/gems/1.8/gems/heroku-2.31.4/bin/heroku:16 
    from /usr/local/bin/heroku:19:in `load' 
    from /usr/local/bin/heroku:19 

任何想法?

回答

0

確保你有這些安裝:

$ sudo apt-get install curl bison build-essential autoconf zlib1g-dev libssl-dev libxml2-dev libreadline6-dev git-core

+0

沒有幫助。我安裝了上述所有庫,然後使用腳本重新安裝了heroku,但仍然收到與OP相同的錯誤 – Aras