# Trouble installing 1.9.2

**URL:** <https://www.ruby-forum.com/t/trouble-installing-1-9-2/197350>\
**Category:** Ruby\
**Created:** [October 13, 2010, 4:09am UTC](https://www.ruby-forum.com/t/trouble-installing-1-9-2/197350 "2010-10-13T04:09:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [October 13, 2010, 4:09am UTC](https://www.ruby-forum.com/t/trouble-installing-1-9-2/197350/1 "2010-10-13T04:09:18Z")

</div>

I’ve been having a frustrating time installing 1.9.2 on my 2.16 Ghz  
macbook snow leopard system. Because of frustrations installing it  
manually, I installed rvm, thinking it would clear things up. I  
successfully installed 1.8.7 and macruby, but still no luck with 1.9.2.  
Here is the error log (apologies for the length). Any insight anyone  
has would be much appreciated. Thanks!

[2010-08-18 13:18:32] make  
file.c: In function ‘file\_expand\_path’:  
file.c:2844: warning: ‘b’ may be used uninitialized in this function  
regcomp.c: In function ‘add\_compile\_string\_length’:  
regcomp.c:423: warning: implicit conversion shortens 64-bit value into a  
32-bit value  
regcomp.c:431: warning: implicit conversion shortens 64-bit value into a  
32-bit value  
regcomp.c: In function ‘compile\_string\_raw\_node’:  
regcomp.c:550: warning: implicit conversion shortens 64-bit value into a  
32-bit value  
regcomp.c: In function ‘get\_char\_length\_tree1’:  
regcomp.c:2308: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c:2355: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘is\_not\_included’:  
regcomp.c:2573: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c:2574: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘update\_string\_node\_case\_fold’:  
regcomp.c:3226: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘setup\_tree’:  
regcomp.c:3796: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘set\_bm\_skip’:  
regcomp.c:3936: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘distance\_value’:  
regcomp.c:4051: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘concat\_left\_node\_opt\_info’:  
regcomp.c:4534: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘optimize\_node\_left’:  
regcomp.c:4612: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘set\_optimize\_exact\_info’:  
regcomp.c:4951: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘set\_optimize\_map\_info’:  
regcomp.c:4970: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘onig\_compile’:  
regcomp.c:5328: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘onig\_is\_code\_in\_cc\_len’:  
regcomp.c:5682: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c:5682: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c: In function ‘match\_at’:  
regexec.c:1325: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:1365: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:1366: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:1370: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:1372: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:1376: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:2166: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:2198: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:2230: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:2269: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c: In function ‘bm\_search\_notrev’:  
regexec.c:2906: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c: In function ‘set\_bm\_backward\_skip’:  
regexec.c:2997: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c: In function ‘onig\_search’:  
regexec.c:3572: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3623: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3636: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3646: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3652: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3683: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3711: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c: In function ‘node\_new\_cclass\_by\_codepoint\_range’:  
regparse.c:1178: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:1178: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c: In function ‘onig\_node\_str\_cat’:  
regparse.c:1447: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:1449: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:1453: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c: In function ‘add\_ctype\_to\_cc\_by\_range’:  
regparse.c:3856: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3856: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3856: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3856: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3877: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3877: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3877: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3877: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3882: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3882: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3882: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3882: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c: In function ‘i\_apply\_case\_fold’:  
regparse.c:5083: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:5083: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
time.c: In function ‘calc\_tm\_yday’:  
time.c:969: warning: implicit conversion shortens 64-bit value into a  
32-bit value  
./enc/emacs\_mule.c: In function ‘code\_to\_mbc’:  
./enc/emacs\_mule.c:267: warning: implicit conversion shortens 64-bit  
value into a 32-bit value  
./enc/euc\_jp.c: In function ‘code\_to\_mbc’:  
./enc/euc\_jp.c:196: warning: implicit conversion shortens 64-bit value  
into a 32-bit value  
./enc/euc\_jp.c: In function ‘property\_name\_to\_ctype’:  
./enc/euc\_jp.c:296: warning: implicit conversion shortens 64-bit value  
into a 32-bit value  
./enc/shift\_jis.c: In function ‘code\_to\_mbc’:  
./enc/shift\_jis.c:178: warning: implicit conversion shortens 64-bit  
value into a 32-bit value  
./enc/utf\_16le.c: In function ‘utf16le\_mbc\_enc\_len’:  
./enc/utf\_16le.c:59: warning: implicit conversion shortens 64-bit value  
into a 32-bit value  
./enc/utf\_32be.c: In function ‘utf32be\_left\_adjust\_char\_head’:  
./enc/utf\_32be.c:162: warning: implicit conversion shortens 64-bit value  
into a 32-bit value  
./enc/utf\_32le.c: In function ‘utf32le\_left\_adjust\_char\_head’:  
./enc/utf\_32le.c:162: warning: implicit conversion shortens 64-bit value  
into a 32-bit value  
dbm.c: In function ‘fdbm\_key’:  
dbm.c:215: warning: comparison between signed and unsigned  
dbm.c: In function ‘fdbm\_delete\_if’:  
dbm.c:365: warning: implicit conversion shortens 64-bit value into a  
32-bit value  
dbm.c: In function ‘fdbm\_has\_value’:  
dbm.c:634: warning: comparison between signed and unsigned  
ld: in /usr/local/lib/libz.1.dylib, file is not of required architecture  
collect2: ld returned 1 exit status  
make[1]: \*\*\* […/…/…/.ext/x86\_64-darwin10.4.0/digest/md5.bundle] Error  
1  
make: \*\*\* [mkmain.sh] Error 1  
[2010-08-30 10:01:48] make  
ld: in /usr/local/lib/libz.1.dylib, file was built for i386 which is not  
the architecture being linked (x86\_64)  
collect2: ld returned 1 exit status  
make[1]: \*\*\* […/…/…/.ext/x86\_64-darwin10.4.0/digest/md5.bundle] Error  
1  
make: \*\*\* [mkmain.sh] Error 1  
[2010-10-12 18:52:06] make  
ld: in /usr/local/lib/libz.1.dylib, file was built for i386 which is not  
the architecture being linked (x86\_64)  
collect2: ld returned 1 exit status  
make[1]: \*\*\* […/…/…/.ext/x86\_64-darwin10.4.0/digest/md5.bundle] Error  
1  
make: \*\*\* [mkmain.sh] Error 1  
[2010-10-12 21:07:15] make  
file.c: In function ‘file\_expand\_path’:  
file.c:2844: warning: ‘b’ may be used uninitialized in this function  
regcomp.c: In function ‘add\_compile\_string\_length’:  
regcomp.c:423: warning: implicit conversion shortens 64-bit value into a  
32-bit value  
regcomp.c:431: warning: implicit conversion shortens 64-bit value into a  
32-bit value  
regcomp.c: In function ‘compile\_string\_raw\_node’:  
regcomp.c:550: warning: implicit conversion shortens 64-bit value into a  
32-bit value  
regcomp.c: In function ‘get\_char\_length\_tree1’:  
regcomp.c:2308: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c:2355: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘is\_not\_included’:  
regcomp.c:2573: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c:2574: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘update\_string\_node\_case\_fold’:  
regcomp.c:3226: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘setup\_tree’:  
regcomp.c:3796: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘set\_bm\_skip’:  
regcomp.c:3936: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘distance\_value’:  
regcomp.c:4051: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘concat\_left\_node\_opt\_info’:  
regcomp.c:4534: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘optimize\_node\_left’:  
regcomp.c:4612: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘set\_optimize\_exact\_info’:  
regcomp.c:4951: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘set\_optimize\_map\_info’:  
regcomp.c:4970: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘onig\_compile’:  
regcomp.c:5328: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c: In function ‘onig\_is\_code\_in\_cc\_len’:  
regcomp.c:5682: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regcomp.c:5682: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c: In function ‘match\_at’:  
regexec.c:1325: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:1365: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:1366: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:1370: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:1372: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:1376: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:2166: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:2198: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:2230: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:2269: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c: In function ‘bm\_search\_notrev’:  
regexec.c:2906: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c: In function ‘set\_bm\_backward\_skip’:  
regexec.c:2997: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c: In function ‘onig\_search’:  
regexec.c:3572: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3623: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3636: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3646: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3652: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3683: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regexec.c:3711: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c: In function ‘node\_new\_cclass\_by\_codepoint\_range’:  
regparse.c:1178: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:1178: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c: In function ‘onig\_node\_str\_cat’:  
regparse.c:1447: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:1449: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:1453: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c: In function ‘add\_ctype\_to\_cc\_by\_range’:  
regparse.c:3856: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3856: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3856: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3856: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3877: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3877: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3877: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3877: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3882: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3882: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3882: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:3882: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c: In function ‘i\_apply\_case\_fold’:  
regparse.c:5083: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
regparse.c:5083: warning: implicit conversion shortens 64-bit value into  
a 32-bit value  
time.c: In function ‘calc\_tm\_yday’:  
time.c:969: warning: implicit conversion shortens 64-bit value into a  
32-bit value  
./enc/emacs\_mule.c: In function ‘code\_to\_mbc’:  
./enc/emacs\_mule.c:267: warning: implicit conversion shortens 64-bit  
value into a 32-bit value  
./enc/euc\_jp.c: In function ‘code\_to\_mbc’:  
./enc/euc\_jp.c:196: warning: implicit conversion shortens 64-bit value  
into a 32-bit value  
./enc/euc\_jp.c: In function ‘property\_name\_to\_ctype’:  
./enc/euc\_jp.c:296: warning: implicit conversion shortens 64-bit value  
into a 32-bit value  
./enc/shift\_jis.c: In function ‘code\_to\_mbc’:  
./enc/shift\_jis.c:178: warning: implicit conversion shortens 64-bit  
value into a 32-bit value  
./enc/utf\_16le.c: In function ‘utf16le\_mbc\_enc\_len’:  
./enc/utf\_16le.c:59: warning: implicit conversion shortens 64-bit value  
into a 32-bit value  
./enc/utf\_32be.c: In function ‘utf32be\_left\_adjust\_char\_head’:  
./enc/utf\_32be.c:162: warning: implicit conversion shortens 64-bit value  
into a 32-bit value  
./enc/utf\_32le.c: In function ‘utf32le\_left\_adjust\_char\_head’:  
./enc/utf\_32le.c:162: warning: implicit conversion shortens 64-bit value  
into a 32-bit value  
dbm.c: In function ‘fdbm\_key’:  
dbm.c:215: warning: comparison between signed and unsigned  
dbm.c: In function ‘fdbm\_delete\_if’:  
dbm.c:365: warning: implicit conversion shortens 64-bit value into a  
32-bit value  
dbm.c: In function ‘fdbm\_has\_value’:  
dbm.c:634: warning: comparison between signed and unsigned  
ld: in /usr/local/lib/libz.1.dylib, file was built for i386 which is not  
the architecture being linked (x86\_64)  
collect2: ld returned 1 exit status  
make[1]: \*\*\* […/…/…/.ext/x86\_64-darwin10.4.0/digest/md5.bundle] Error  
1  
make: \*\*\* [mkmain.sh] Error 1  
[2010-10-12 21:34:16] make  
ld: in /usr/local/lib/libz.1.dylib, file was built for i386 which is not  
the architecture being linked (x86\_64)  
collect2: ld returned 1 exit status  
make[1]: \*\*\* […/…/…/.ext/x86\_64-darwin10.4.0/digest/md5.bundle] Error  
1  
make: \*\*\* [mkmain.sh] Error 1

---

<div class="post-metadata">

**Author:** ![idiosyncratici](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a88e4f/32.png) [@idiosyncratici](https://www.ruby-forum.com/u/idiosyncratici)\
**Post date:** [October 14, 2010, 2:10am UTC](https://www.ruby-forum.com/t/trouble-installing-1-9-2/197350/2 "2010-10-14T02:10:00Z")

</div>

To anyone else searching the web with this problem, I found the  
solution:

Due to macports shenanigans, I had two versions of libz installed, one  
compiled in 32 bits. Deleting the 32 bit version (the one mentioned in  
my error logs) solved the problem. You may have to reinstall libz after  
doing the deleting.
