From: at1197@... Date: 2011-03-27T06:55:56+09:00 Subject: Re: [Fwd: [Ruby 1.9 - Bug #4530][Open] trunk "make check" gives "cannot load such file -- zlib" and "cannot load such file -- openssl"] I tried to update this issue in Redmine but got "Internal error -An error occurred on the page you were trying to access. - If you continue to experience problems please contact our redmine administrator for assistance" [CC: its-admin@ruby-lang.org] The update to this issue is as follows: The problem was that the headers for openssl and zlib were not available and so these two exts were silently not built, and so could not be found at test-time. It would be nice if in the ext config messages warned "could not find header ssl.h" etc, like others warn for missing libffi and libyaml headers. There was no error message or warning that openssl or zlib could not be built. -Andrew. On Sat, March 26, 2011 1:14 am, at1197@tomazos.net wrote: > > ---------------------------- Original Message ---------------------------- > Subject: [Ruby 1.9 - Bug #4530][Open] trunk "make check" gives "cannot > load such file -- zlib" and "cannot load such file -- openssl" > From: "Andrew Tomazos" > Date: Fri, March 25, 2011 11:15 pm > To: undisclosed-recipients:; > -------------------------------------------------------------------------- > > > Issue #4530 has been reported by Andrew Tomazos. > > ---------------------------------------- > Bug #4530: trunk "make check" gives "cannot load such file -- zlib" and > "cannot load such file -- openssl" > http://redmine.ruby-lang.org/issues/4530 > > Author: Andrew Tomazos > Status: Open > Priority: Urgent > Assignee: > Category: > Target version: > ruby -v: ruby 1.9.3dev (2011-03-25 trunk 31181) [x86_64-linux] > > > === Summary > A clean shadow build of trunk and a "make check" produces "cannot load > such file -- zlib" and "cannot load such file -- openssl" > > === System Info > > ruby -v = ruby 1.9.3dev (2011-03-25 trunk 31181) [x86_64-linux] > > uname -a = Linux rubybuild 2.6.35-28-server #49-Ubuntu SMP Tue Mar 1 > 14:55:37 UTC 2011 x86_64 GNU/Linux > > === Steps to Reproduce > > $ git clone https://github.com/ruby/ruby.git /r/orig/ruby > $ cd /r/orig/ruby > $ autoconf > $ cd .. > $ mkdir /r/build/ruby > $ cd /r/build/ruby > $ /r/orig/ruby/configure --prefix=/r/usr/ > $ make > $ make check > . > . > . > ./miniruby -I/r/orig/ruby/lib -I. -I.ext/common > /r/orig/ruby/tool/runruby.rb --extout=.ext -- > "/r/orig/ruby/test/runner.rb" --ruby="./miniruby -I/r/orig/ruby/lib -I. > -I.ext/common /r/orig/ruby/tool/runruby.rb --extout=.ext --" > /r/orig/ruby/test/csv/test_features.rb: cannot load such file -- zlib > /r/orig/ruby/test/net/http/test_https.rb: cannot load such file -- > openssl > /r/orig/ruby/test/net/imap/test_imap_response_parser.rb: cannot load such > file -- openssl > /r/orig/ruby/test/net/imap/test_imap.rb: cannot load such file -- openssl > ... > /r/orig/ruby/test/drb/test_drbssl.rb: cannot load such file -- openssl > /r/orig/ruby/test/rubygems/test_gem_commands_generate_index_command.rb: > cannot load such file -- zlib > /r/orig/ruby/test/rubygems/test_gem_commands_install_command.rb: cannot > load such file -- zlib > /r/orig/ruby/test/rubygems/test_gem_gem_path_searcher.rb: cannot load > such file -- zlib > /r/orig/ruby/test/rubygems/test_gem_version_option.rb: cannot load such > file -- zlib > /r/orig/ruby/test/rubygems/test_gem_doc_manager.rb: cannot load such file > -- zlib > /r/orig/ruby/test/rubygems/test_gem_commands_owner_command.rb: cannot > load such file -- zlib > . > . > . > = Logs > > Please find attached the output of "make" and "make check" > > > > -- > http://redmine.ruby-lang.org > > > -- > > --