標籤:

cannot load such file

cannot load such file -- openssl 博客分類:

  • ruby on rails
  • 在建立項目後,運行bundle install 的時候,忽然報錯了:cannot load such file -- openssl。 解決辦法:進入到ruby源碼包的所在路徑(我下載ruby後,解壓到了:/home/naitnix/Downloads/ruby相關/ruby-1.9.3-p0),進入到該目錄,然後進入ext/openssl,執行: sudo ruby extconf.rb,然後執行:sudo make && sudo make install 分享到:

    Installing mysql (2.8.1) with native ext ... | cannot load such file -- zlib

  • 2012-01-29 13:57
  • 瀏覽 1629
  • 評論(1)
  • 分類:編程語言
  • 相關推薦
  • 評論

    1 樓 jaycongwen 2012-05-17 幫我看看啊,我剛學wen@wen-desktop:~$ cd /home/wen/.rvm/src/ruby-1.9.3-p194/ext/opensslwen@wen-desktop:~/.rvm/src/ruby-1.9.3-p194/ext/openssl$ ruby extconf.rb=== OpenSSL for Ruby configurator ====== Checking for system dependent stuff... ===checking for t_open() in -lnsl... nochecking for socket() in -lsocket... nochecking for assert.h... yes=== Checking for required stuff... ===checking for openssl/ssl.h... no=== Checking for required stuff failed. ===Makefile wasn"t created. Fix the errors above.wen@wen-desktop:~/.rvm/src/ruby-1.9.3-p194/ext/openssl$ ruby extconf.rb=== OpenSSL for Ruby configurator ====== Checking for system dependent stuff... ===checking for t_open() in -lnsl... nochecking for socket() in -lsocket... nochecking for assert.h... yes=== Checking for required stuff... ===checking for openssl/ssl.h... no=== Checking for required stuff failed. ===Makefile wasn"t created. Fix the errors above.wen@wen-desktop:~/.rvm/src/ruby-1.9.3-p194/ext/openssl$ makemake: 沒有什麼可以做的為 `all"。wen@wen-desktop:~/.rvm/src/ruby-1.9.3-p194/ext/openssl$

    發表評論

    您還沒有登錄,請您登錄後再發表評論
    推薦閱讀:

    python socket.error: [Errno 9] Bad file descriptor什麼原因?
    運行不了 頭大。新手 想學Qt 最簡單的helloword 都運行不了 求教!?
    為什麼有道詞典默認安裝在C:Documents and Settings 而不是C:Program Files?出於什麼考慮?

    TAG:file |