From: Luis Lavena Date: 2010-07-29T21:51:08+09:00 Subject: Re: 64 bit ruby installation on 64 bit windows On Jul 28, 11:02 pm, Ichigo Poi wrote: > hi, could anyone help me answer the following questions. > > i've tried installing a 64-bit ruby on a 64-bit windows. > i've successfully installed it and able to try some codes > using irb. but when i tried to update the gem, i got the > error that the zlib can't be found, even though i have > it in the ruby\bin folder. > > my question is this, does zlib dll and other dlls need to be > 64 bit in order to install gems in ruby? Yes, all the DLLs needs to be exactly of the same architecture. http://stackoverflow.com/questions/2265023/load-32bit-dll-library-in-64bit-application > are there any links where i can download 64-bit zlib? There is no pre-built binary. Even more, you will need to use the same compiler used to build Ruby as the CRT differences could generate issues in memory allocation and release (which translates to segfaults) Unless you have a 64bits DLL that you need to interface with, I would advise you install 32bits Ruby and avoid the pain of building everything (zlib, openssl, readline and many others) from scratch. It might be biased, but I would recommend you use RubyInstaller packages: http://rubyinstaller.org/ HTH, -- Luis Lavena