Reputation: 211
I am using a Linux system x86_64-redhat-linux-gnu-library with a CentOS server.
The R version is 3.4.1
When installing the package "pdftools" I get the following error :
Error in .shlib_internal(args) :
C++11 standard requested but CXX11 is not defined
Has anyone encountered the problem?
Upvotes: 1
Views: 4822
Reputation: 560
Doing the following worked for me:
Under /usr/lib64/R/etc there are 2 Makeconf files:
Backup the 'Makeconf' file and replace it with the contents of 'Makeconf.rpmnew'
Found the solution here (wch's answer):
https://github.com/rstudio/httpuv/issues/82
Upvotes: 1