small medium large xlarge

20 Nov 2011, 22:36
Steven Finnegan (19 posts)

On my macbook pro, after installing Xcode 4.2.1, and installing rvm – i get the following error in the make.log file while running “rvm install 1.9.2” while compiling ruby

ld: in /usr/local/lib/libiconv.2.dylib, missing required architecture x86_64 in file for architecture x86_64 collect2: ld returned 1 exit status make[1]: ** [../../.ext/x86_64-darwin11.2.0/tcltklib.bundle] Error 1 make: ** [] Error 1

I did these steps on my iMac a while back without issue. One difference, though, the iMac has Xcode version 4.2 (not 4.2.1) installed.

Anybody else see this problem? Any resolutions?

_mg_8864 - cropped square_pragsmall
21 Nov 2011, 02:45
Jeremy Ross (5 posts)

There are issues compiling ruby 1.9.2 with Xcode 4.2. You’ll have to install 4.1, then reinstall your Rubies with rvm. You can download 4.1 here: But keep in mind, after you install the .pkg, there is an “Install XCode” app in /Applications that you have to run, which actually installs XCode.

21 Nov 2011, 02:47
Sam Ruby (633 posts)

Perhaps this will help:

21 Nov 2011, 15:51
Steven Finnegan (19 posts)

Yes – Thanks Sam! That seemed to fix it up.

You must be logged in to comment