When I run the binary build of Julia-1.2.0 or Julia-1.3.0 under a clean install of Ubuntu-19.10 I encounter problems with the version of libstdc++ in the binary build. This comes about when using RCall and loading R packages with binary dependencies built on this computer, say ggplot2. In general this occurs with any R package that depends upon the Rcpp package in R.
The error message is like
ERROR: REvalError: Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/home/bates/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/libs/Rcpp.so': /home/bates/src/julia-1.3.0/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/bates/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/libs/Rcpp.so)
This comes about because the installation of the Rcpp package calls the local version of g++ which links against
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28. It looks as if the version of
libstdc++.so.6 shipped with the Julia binary builds is an earlier version. It defines GLIBCXX_3.4.24 but not 25 and 26.
I can probably finesse the issue by, say, a symbolic link to the system
libstdc++.so.6 from the Julia
lib/julia/ directory but I don’t want to mess with the binary builds unless absolutely necessary.
Can anyone suggest an alternative way around this?