Issue #5786 has been reported by Kazuhiro NISHIYAMA.

----------------------------------------
Bug #5786: LoadError: cannot load such file -- openssl
https://bugs.ruby-lang.org/issues/5786

Author: Kazuhiro NISHIYAMA
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0dev (2011-12-21 trunk 34091) [x86_64-linux]


openssl ??????????????????????????? test-all ??? LoadError: cannot load such file -- openssl ????????????????????????????
???中?? Ctrl+C ??止??????????????????????????????????????????????????

test_cgi_session_filestore(CGISessionTest):
LoadError: cannot load such file -- openssl
    .../ruby/lib/securerandom.rb:59:in `random_bytes'
    .../ruby/lib/securerandom.rb:140:in `hex'
    .../ruby/lib/cgi/session.rb:173:in `create_new_id'
    .../ruby/lib/cgi/session.rb:267:in `initialize'
    .../ruby/test/cgi/test_cgi_session.rb:33:in `new'
    .../ruby/test/cgi/test_cgi_session.rb:33:in `test_cgi_session_filestore'

  2) Error:
test_cgi_session_pstore(CGISessionTest):
LoadError: cannot load such file -- openssl
    .../ruby/lib/securerandom.rb:59:in `random_bytes'
    .../ruby/lib/securerandom.rb:140:in `hex'
    .../ruby/lib/cgi/session.rb:173:in `create_new_id'
    .../ruby/lib/cgi/session.rb:267:in `initialize'
    .../ruby/test/cgi/test_cgi_session.rb:71:in `new'
    .../ruby/test/cgi/test_cgi_session.rb:71:in `test_cgi_session_pstore'

  3) Error:
test_cgi_session_specify_session_key(CGISessionTest):
LoadError: cannot load such file -- openssl
    .../ruby/lib/securerandom.rb:59:in `random_bytes'
    .../ruby/lib/securerandom.rb:140:in `hex'
    .../ruby/lib/cgi/session.rb:173:in `create_new_id'
    .../ruby/lib/cgi/session.rb:267:in `initialize'
    .../ruby/test/cgi/test_cgi_session.rb:148:in `new'
    .../ruby/test/cgi/test_cgi_session.rb:148:in `test_cgi_session_specify_session_key'

  4) Error:
test_https_proxy_authentication(HTTPSProxyTest):
LoadError: cannot load such file -- openssl
    .../ruby/test/net/http/test_https_proxy.rb:16:in `block (2 levels) in test_https_proxy_authentication'

  5) Error:
test_ssl_socket_close_on_post_connection_check_fail(Net::TestSSLSocket):
LoadError: cannot load such file -- openssl
    .../ruby/lib/net/smtp.rb:197:in `default_ssl_context'
    .../ruby/lib/net/smtp.rb:345:in `enable_starttls_auto'
    .../ruby/test/net/smtp/test_ssl_socket.rb:51:in `test_ssl_socket_close_on_post_connection_check_fail'

  6) Error:
test_ssl_socket_open_on_post_connection_check_success(Net::TestSSLSocket):
LoadError: cannot load such file -- openssl
    .../ruby/lib/net/smtp.rb:197:in `default_ssl_context'
    .../ruby/lib/net/smtp.rb:345:in `enable_starttls_auto'
    .../ruby/test/net/smtp/test_ssl_socket.rb:67:in `test_ssl_socket_open_on_post_connection_check_success'


-- 
http://redmine.ruby-lang.org