Closed jjramsey closed 6 years ago
Yes
% c++filt _ZNSt16invalid_argumentC1EPKc
std::invalid_argument::invalid_argument(char const*)
Sorry to hear you are having troubles, but this strikes me entirely as a local RHEL deployment issue. The code (as shipped) builds fine (on normal systems).
Well, I think I discovered the problem, and oddly enough, it seems to have to do with FLIBS. Unless I explicitly set the environment variable F77 to "gfortran", "-L/usr/lib/gcc/x86_64-redhat-linux/4.4.4" will be added to FLIBS, which ends as part of the link line for RcppEigen. I guess that causes the linker to try to link to the wrong libstdc++?
I have Devtoolset-6 installed on my RHEL 6 workstation, so that I have access to a relatively newer version of GCC, in this case, version 6.3.1, than I would have otherwise. I successfully compiled and installed R with it. However, installing RcppEigen fails.
I've tried installed RcppEigen in the usual way, via
install.packages()
, and this is what I get as output:Offhand, it looks like I can successfully compile RcppEigen, but there's some problem in the linking process, so that the library containing
invalid_argument
(probablystd::invalid_argument
) isn't being linked to.