From: Luis Lavena Date: 2010-08-21T01:32:17+09:00 Subject: Re: Segmentation fault zlib.so On Aug 20, 9:38 am, "Parv G." wrote: > Luis Lavena wrote: > > On Aug 19, 9:01 pm, "Parv G." wrote: > >> Hi I'm getting the following error when I do "gem list": > > >> C:/Ruby187/lib/ruby/1.8/i386-mingw32/zlib.so: [BUG] Segmentation fault > >> ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32] > > >> I'm running on Windows server 2008 64bit. > > >> Has anybody run into similar problem? > > > Do you have any previous Ruby installation in the PATH? > > > A segmentation fault in zlib.so might indicate a version zlib1.dll > > different than the one the extension is expecting. > > > Try "where zlib1.dll", if the directory shown by that is not C: > > \Ruby187\bin then the file is not safe to be the one that ship with > > RubyInstaller and should be removed. > > > HTH, > > Luis, thanks for the reply. > > It does not seem like there is another version of zlib1.dll:>where zlib1.dll > > C\Ruby187\bin\zlib1.dll > > I checked the Path and didn't see any other ruby entries except for > 'C:\Ruby187\bin'. > > Part of the issue is that I did not see a gems directory after intalling > ruby (tried the 3 most recent windows installers). > This fails too? ruby -ve "requite 'zlib'" Does 'gem env' command fails too? It is strange if no zlib1.dll is in the path, it is loading the wrong one. Do you have antivirus? it might be something that affected the original zlib1.dll that is part of 1.8.7 release. Did you use the installers? -- Luis Lavena