Forum: Ruby gems on AIX

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
matt (Guest)
on 2005-11-15 21:43
(Received via mailing list)
I'm attempting to build rubygems on AIX.  It's failing with:

/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__': No such file to load -- zlib (LoadError)
         from
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
         from
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:9
         from
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
         from
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
         from
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/builder.rb:1
         from
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
         from
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
         from
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/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

Help?

-- Matt
Nothing great was ever accomplished without _passion_
pertl (Guest)
on 2005-11-15 21:49
(Received via mailing list)
you need to install the prerequisite 'zlib' library first



> --- Urspr√ľngliche Nachricht ---
> Von: Matt L. <removed_email_address@domain.invalid>
> An: removed_email_address@domain.invalid (ruby-talk ML)
> Betreff: gems on AIX
> Datum: Wed, 16 Nov 2005 04:42:27 +0900
>
> I'm attempting to build rubygems on AIX.  It's failing with:
>
>
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require__': No such file to load -- zlib (LoadError)
>          from
>
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require'
>          from
> /afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:9
>          from
>
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require__'
>          from
>
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require'
>          from
> /afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/builder.rb:1
>          from
>
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require__'
>          from
>
/afs/austin/u/mattlaw/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
kashia.buch (Guest)
on 2005-11-15 21:58
(Received via mailing list)
Hi,

On Tue, 15 Nov 2005 20:42:27, Matt L. <removed_email_address@domain.invalid>
wrote:
> I'm attempting to build rubygems on AIX.  It's failing with:
>
> `require__': No such file to load -- zlib (LoadError)
> Help?

If I remember correctly, you have to compile ruby with the zlib
extension,
which fails if you don't have zlib libs in your lib path.
maybe www.zlib.net...

Kash
This topic is locked and can not be replied to.