<div dir="ltr">Your error:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span style="font-size:12.8000001907349px">Error in dyn.load(file, DLLpath = DLLpath, ...) :</span></div><div><span style="font-size:12.8000001907349px">  unable to load shared object</span></div><div><span style="font-size:12.8000001907349px">'/Users/py/Library/R/3.2/</span><span style="font-size:12.8000001907349px">library/Rcpp/libs/Rcpp.so':</span></div><div><span style="font-size:12.8000001907349px">  dlopen(/Users/py/Library/R/3.</span><span style="font-size:12.8000001907349px">2/library/Rcpp/libs/Rcpp.so, 6): Symbol</span></div><div><span style="font-size:12.8000001907349px">not found: __ZNSoD0Ev</span></div></blockquote><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">says some (mangled) symbol named `</span><span style="font-size:12.8000001907349px">__ZNSoD0Ev` could not be found. Using the online demangling tool at <a href="http://demangler.com/">http://demangler.com/</a>, I see this symbol is:</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span style="font-size:12.8000001907349px">_std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()</span></div></blockquote><div><br></div><div>which should be provided by your C++ standard library.</div><div><br></div><div>Given that you're using `g++` on OS X, I'm assuming you installed gcc from macports or something like that, but either that was provided without a standard library (libstdc++), or it's distributed in such a way that libstdc++ isn't located on its default library search path.<br></div><div><br></div><div>So, you should either:</div><div><br></div><div>1. Figure out where you can get libstdc++ for the g++ compiler you've obtained, or</div><div>2. Just use Apple's command line tools (clang etc) as that will 'just work'.</div><div><br></div><div>Kevin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 5, 2015 at 8:41 PM, Peng Yu <span dir="ltr"><<a href="mailto:pengyu.ut@gmail.com" target="_blank">pengyu.ut@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, May 5, 2015 at 3:12 PM, Steve Lianoglou<br>
<<a href="mailto:lianoglou.steve@gene.com">lianoglou.steve@gene.com</a>> wrote:<br>
> Following the instructions here worked for me:<br>
><br>
> <a href="http://www.thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error" target="_blank">http://www.thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error</a><br>
><br>
> Although the instructions have a slight typo in them, and probably should read:<br>
><br>
>   curl -O <a href="http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2" target="_blank">http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2</a><br>
>   sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /<br>
><br>
> I should note that I was having different problems than what you<br>
> report, though, but try that.<br>
<br>
</span>Nothing has been fixed. I have macports installed. Could it be the problem?<br>
<span class=""><br>
> Which version of R did you install, btw? I'm assuming you've got a<br>
> binary 3.2-mavericks binary from CRAN (and not compiled your own).<br>
<br>
</span>Yes. Here is my R version.<br>
<br>
~$ R --version<br>
R version 3.2.0 (2015-04-16) -- "Full of Ingredients"<br>
Copyright (C) 2015 The R Foundation for Statistical Computing<br>
Platform: x86_64-apple-darwin13.4.0 (64-bit)<br>
<br>
R is free software and comes with ABSOLUTELY NO WARRANTY.<br>
You are welcome to redistribute it under the terms of the<br>
GNU General Public License versions 2 or 3.<br>
For more information about these matters see<br>
<a href="http://www.gnu.org/licenses/" target="_blank">http://www.gnu.org/licenses/</a>.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
Regards,<br>
Peng<br>
_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
</div></div></blockquote></div><br></div>