[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

rubygem 1.3.1: zlib LoadError

Humphrey Alba

4/7/2009 1:22:00 AM

why am i getting this zlib error?

RUBYGEMS VERSION: 1.3.1
RUBY VERSION: 1.9.1 (2009-01-30 patchlevel 0) [i686-linux]

/opt/ruby/bin$ gem list
/opt/ruby/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:1:in `require': no
such file to load -- zlib (LoadError)
from /opt/ruby/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:1:in
`<top (required)>'
from
/opt/ruby/lib/ruby/1.9.1/rubygems/commands/query_command.rb:3:in
`require'
from
/opt/ruby/lib/ruby/1.9.1/rubygems/commands/query_command.rb:3:in `<top
(required)>'
from
/opt/ruby/lib/ruby/1.9.1/rubygems/commands/list_command.rb:2:in
`require'
from
/opt/ruby/lib/ruby/1.9.1/rubygems/commands/list_command.rb:2:in `<top
(required)>'
from /opt/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:140:in
`require'
from /opt/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:140:in
`rescue in load_and_instantiate'
from /opt/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:132:in
`load_and_instantiate'
from /opt/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:65:in
`[]'
from /opt/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:118:in
`find_command'
from /opt/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:104:in
`process_args'
from /opt/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:75:in
`run'
from /opt/ruby/lib/ruby/1.9.1/rubygems/gem_runner.rb:39:in `run'
from /opt/ruby/bin/gem:24:in `<main>'
--
Posted via http://www.ruby-....

2 Answers

Matt Falkenhagen

4/7/2009 1:25:00 AM

0

Kinroc Cornik wrote:
> why am i getting this zlib error?
>
> RUBYGEMS VERSION: 1.3.1
> RUBY VERSION: 1.9.1 (2009-01-30 patchlevel 0) [i686-linux]
>
> /opt/ruby/bin$ gem list
> /opt/ruby/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:1:in `require': no
> such file to load -- zlib (LoadError)

You probably don't have the zlib development library installed. Ensure
both the runtime and development library are installed.


? ??

4/7/2009 2:05:00 AM

0

this problems also happen in hpux(11.23, 11.31).

ruby installer doesn't distinguish between sl and so extension.

I need to make all symbolic links from sl to so in /usr/local/lib/ruby/*

2009. 04. 07, =BF=C0=C0=FC 10:24, Matt Falkenhagen =C0=DB=BC=BA:

> Kinroc Cornik wrote:
>> why am i getting this zlib error?
>> RUBYGEMS VERSION: 1.3.1
>> RUBY VERSION: 1.9.1 (2009-01-30 patchlevel 0) [i686-linux]
>> /opt/ruby/bin$ gem list
>> /opt/ruby/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:1:in `require': no
>> such file to load -- zlib (LoadError)
>
> You probably don't have the zlib development library installed. =20
> Ensure both the runtime and development library are installed.
>
>
>