From: Robert Oliver Date: 2005-07-28T01:48:31+09:00 Subject: Re: RubyGems and zlib.so ------=_Part_12583_27198020.1122482907345 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm assuming that you're running the Linux version, based on the .so's. If= =20 you're running Fedora/RedHat/CentOS, make sure that zlib-devel is installed= =20 (If you're running Debian, its zlib1g-dev) before you run the Ruby=20 ./configure script. Then, reinstall Ruby Gems. Hope this helps. On 7/27/05, Shawn Church wrote: >=20 > I am trying to install RubyGems using 'ruby setup.rb'. I have > cross-compiled Ruby to target an arm-based machine and have successfully > installed Ruby on it. >=20 > When I run setup.rb, everything looks good until just after the "No > library stubs found" message is shown. At this point, I am getting a > message that zlib.so cannot be opened. Here's the full exception: >=20 > /usr/local/ruby-1.8.2-arm/ext/zlib/zlib.so: > /usr/local/ruby-1.8.2-arm/ext/zlib/zlib.so: cannot open shared object > file: No such file or directory - > /usr/local/ruby-1.8.2-arm/ext/zlib/zlib.so (LoadError) > from > /usr/local/ruby-1.8.2-arm/lib/rubygems/custom_require.rb:21:in `require' > from /usr/local/ruby-1.8.2-arm/lib/rubygems/package.rb:9 > from > /usr/local/ruby-1.8.2-arm/lib/rubygems/custom_require.rb:21:in `require__= ' > from > /usr/local/ruby-1.8.2-arm/lib/rubygems/custom_require.rb:21:in `require' > from /usr/local/ruby-1.8.2-arm/lib/rubygems/builder.rb:1 > from > /usr/local/ruby-1.8.2-arm/lib/rubygems/custom_require.rb:21:in `require__= ' > from > /usr/local/ruby-1.8.2-arm/lib/rubygems/custom_require.rb:21:in `require' > from /usr/local/ruby-1.8.2-arm/lib/rubygems.rb:61:in `manage_gems' > ... 7 levels... > from setup.rb:887:in `exec_install' > from setup.rb:705:in `invoke' > from setup.rb:674:in `invoke' > from setup.rb:1352 >=20 > Do I have to load zlib manually? I see a zlib.c source file in the > ext/zlib directory, but I don't see zlib.so. >=20 > I have been working on getting Ruby and RubyGems (and eventually Rails) > installed on this machine since yesterday morning, and so far it's been > a much bigger chore than I would have expected. I would appreciate any > help anyone has to offer. >=20 > Thanks, > Shawn >=20 >=20 >=20 >=20 --=20 Robert W. Oliver II CEO / President - OCS Solutions, Inc. http://www.ocssolutions.com/ Ruby / Ruby on Rails Discussion at http://www.rubyforums.com/ ------=_Part_12583_27198020.1122482907345--