Hi everyone,

I’m having some troubles installing R 3.1.0 on OSX from source using the homebrew package and was wondering if any OSX users had any ideas.  I posted an issue on homebrew-science but the maintainer suggested it might be an error upstream, so I am reposting it here. Here is the error, it fails when building the package indices:

*** installing help indices
** building package indices
Loading required package: Matrix
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/private/tmp/r-SjCB/R-3.0.3/library/Matrix/libs/Matrix.so':
  dlopen(/private/tmp/r-SjCB/R-3.0.3/library/Matrix/libs/Matrix.so, 6): Symbol not found: _cholmod_aat
  Referenced from: /private/tmp/r-SjCB/R-3.0.3/library/Matrix/libs/Matrix.so
  Expected in: flat namespace
 in /private/tmp/r-SjCB/R-3.0.3/library/Matrix/libs/Matrix.so
Error : require(Matrix) is not TRUE
ERROR: installing package indices failed
* removing ‘/private/tmp/r-SjCB/R-3.0.3/library/Matrix’
make[2]: *** [Matrix.ts] Error 1
make[1]: *** [recommended-packages] Error 2
make: *** [stamp-recommended] Error 2

Here is my environment:

CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.1.1

Google searching for _cholmod_aat only shows up with the two issues related to this issue. 

Here is a gist to the entire error log, pinned to the line number where the error appears:

https://gist.github.com/anonymous/11002635#file-02-make-L1711

And a link to the discussion thread regarding this error on homebrew-science, it has been persisting since 3.0.2:

https://github.com/Homebrew/homebrew-science/issues/740

Thanks! 

Best,

Rory
	[[alternative HTML version deleted]]


