[R-SIG-Mac] Installing R from source: "../i386/ldpaths: No such file or directory"
Charlie Sharpsteen
charles.sharpsteen at gmail.com
Mon Oct 3 22:12:50 CEST 2011
On Sunday, October 2, 2011 8:12:20 AM UTC-7, Simon Urbanek wrote:
>
> The framework installation uses `arch` to determine the default
> architecture which in your case is i386 but it is not installed. You can
> edit
>
> /Library/Frameworks/R.framework/Resources/bin/R
>
> and replace
> : ${R_ARCH=/`arch`}
> with
> : ${R_ARCH=/x86_64}
>
> The assumption is that if you use a framework the resulting R will be
> universal, but it your case it's not. I'll see if we can come up with
> something more robust ...
>
> Cheers,
> Simon
>
I run 10.6.8 with an x86_64 kernel and `arch` still returns i386 which is a
bit misleading. For the Homebrew package manager, we decide if 64 bit
binaries are preferred by checking the return value of `/usr/sbin/sysctl -n
hw.cpu64bit_capable`.
-Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20111003/4ebd70d4/attachment-0001.html>
More information about the R-SIG-Mac
mailing list