[LRUG] RVM help

Ben Lovell benjamin.lovell at gmail.com
Tue Dec 14 08:51:07 PST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20101214/9c27e851/attachment-0003.html>


More information about the Chat mailing list