Re: [Rcpp-devel] Install failure undefined symbol

2020-06-11 Thread IƱaki Ucar
On Thu, 11 Jun 2020 at 17:41, Fuhriman, Nathanael [US] (IS) (Contr) wrote: > > /share/apps/gcc/9.2.0/bin/gcc -m64 -shared -L/share/apps/update/lib -o > Rcpp.so api.o attributes.o barrier.o date.o module.o rcpp_init.o Note that line. It's probably picking up whatever it's in there instead of /sha

Re: [Rcpp-devel] Install failure undefined symbol

2020-06-11 Thread Dirk Eddelbuettel
On 11 June 2020 at 19:13, Peter Crowther wrote: | It's done so that you can have multiple versions of the tools installed | side-by-side rather than being blindsided by upgrades breaking your | toolchain. This is rather the same justification that the Python community | uses for its similarly wei

Re: [Rcpp-devel] Install failure undefined symbol

2020-06-11 Thread Peter Crowther
On Thu, 11 Jun 2020 at 19:01, Dirk Eddelbuettel wrote: > Spot on. And while it's been a while, the _particular_ wisdom of that RH > supplied compiler setup also _required_ sourcing of a shell snippet to set > all appropriate values: PATH, LD_LIBRARY_PATH, ... > > (Astonishing, to say the least, t

Re: [Rcpp-devel] Install failure undefined symbol

2020-06-11 Thread Dirk Eddelbuettel
On 11 June 2020 at 10:29, Kevin Ushey wrote: | The most likely cause here is that, even though Rcpp is being compiled | with gcc 9.2.0, an older version of libstdc++ is being found and used | at runtime, and that version of the libstdc++ library doesn't provide | the requested symbol (_ZTVN10__cxx

Re: [Rcpp-devel] Install failure undefined symbol

2020-06-11 Thread Kevin Ushey
The most likely cause here is that, even though Rcpp is being compiled with gcc 9.2.0, an older version of libstdc++ is being found and used at runtime, and that version of the libstdc++ library doesn't provide the requested symbol (_ZTVN10__cxxabiv120__si_class_type_infoE). Best guess: LD_LIBRARY

Re: [Rcpp-devel] Install failure undefined symbol

2020-06-11 Thread Dirk Eddelbuettel
With the caveat that I am not expert on RHEL/CentOS and tend to share the general view of most developers that these seem to be a systems ... made for administrators first, rather than developers. I did for a while work on such a system but it also had a set of 'red hat developer tools' (I may ha

[Rcpp-devel] Install failure undefined symbol

2020-06-11 Thread Fuhriman, Nathanael [US] (IS) (Contr)
I'm trying to install on a Centos6.10 system. I am using an updated gcc9.2 compiler that was installed on the system. I've searched the forum and the web and can't seem to find a solution to this. I did find one recommendation to use static compile but I don't know how to do that with R. Here is