[LRUG] RVM help

Hakan Şenol Ensari hakan.ensari at papercavalier.com
Tue Dec 14 09:30:14 PST 2010


IMHO, the reboot-your-computer-if-you-can't-do-x advice for rvm is to `rvm
implode` and install things from scratch if you find yourself scratching the
head and can't figure out what's what within five minutes of googling.

Hakan

http://hakanensari.com




On Tue, Dec 14, 2010 at 2:51 PM, Ben Lovell <benjamin.lovell at gmail.com>wrote:

> On 14 December 2010 14:24, Adrian Stainforth <adrian.stainforth at gmail.com>wrote:
>
>> Hi Everyone,
>>
>> I am having a massive issue with my RVM on my mac.  Everytime I try and
>> upgrade to a new version of ruby it fails on the make.  It seems to be
>> something to do with the libxslt.1.dylib as far as I can tell, seems to be
>> getting confused between 32bit and 64bit.  I've tried reinstalling them but
>> no joy, does anyone have any advice?
>>
>> The error I'm getting is:
>>
>> gcc -dynamic -bundle -o ../../.ext/x86_64-darwin10.5.0/tcltklib.bundle
>> stubs.o tcltklib.o -L. -L../.. -L/System/Library/Frameworks/Tcl.framework
>> -L/System/Library/Frameworks/Tk.framework -L/usr/local/lib -L/usr/lib -L.
>> -L/usr/local/lib   -lpthread -framework CoreFoundation
>>  -F/System/Library/Frameworks -framework Tcl    -lpthread -framework
>> CoreFoundation -framework Cocoa -framework Carbon -framework IOKit
>> -lpthread -framework CoreFoundation  -F/System/Library/Frameworks -framework
>> Tk -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress
>> -Wl,-flat_namespace  -lruby.1.9.1 -lm -ldl  -lpthread -ldl -lobjc
>> ld: in /usr/local/lib/libxslt.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.5.0/tcltklib.bundle] Error 1
>> make: *** [mkmain.sh] Error 1
>>
>> I'd be very grateful for any help!
>>
>> --
>> Kind Regards
>> Adrian Stainforth
>>
>>
> Try specifying the arch_flags in the rvmrc dotfile?
>
> rvm_archflags="-arch x86_64"
>
> Cheers,
> Ben
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20101214/4fa99a85/attachment.html>


More information about the Chat mailing list