On 14 December 2010 14:24, Adrian Stainforth <span dir="ltr"><<a href="mailto:adrian.stainforth@gmail.com">adrian.stainforth@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Everyone,<div><br></div><div>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?</div>


<div><br></div><div>The error I'm getting is:</div><div><br></div><div><div>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 </div>


<div>ld: in /usr/local/lib/libxslt.1.dylib, file was built for i386 which is not the architecture being linked (x86_64)</div><div>collect2: ld returned 1 exit status</div><div>make[1]: *** [../../.ext/x86_64-darwin10.5.0/tcltklib.bundle] Error 1</div>


<div>make: *** [mkmain.sh] Error 1</div><div><br></div><div>I'd be very grateful for any help!</div><br>-- <br>Kind Regards<br>Adrian Stainforth<br><br></div></blockquote><div><br></div><div>Try specifying the arch_flags in the rvmrc dotfile?</div>
<div><br></div><meta charset="utf-8"><div><span class="Apple-style-span" style="font-family: monospace; font-size: 14px; line-height: 22px; white-space: pre; ">rvm_archflags="-arch x86_64"</span></div><div><br></div>
<div><span class="Apple-style-span" style="font-family: monospace; font-size: 14px; line-height: 22px; white-space: pre; "></span>Cheers,</div><div>Ben </div></div>