small medium large xlarge

Generic-user-small
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: ** [mkmain.sh] 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: https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.1_for_lion/xcode_4.1_for_lion.dmg. 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.

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

Perhaps this will help: http://hello.keewooi.com/ruby-1-9-3-preview-1-available-now/

Generic-user-small
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