You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just sharing in case someone else runs into this problem too. I'm on CentOS 7 with R 4.1.0 built from source. I've noticed that regsem does not install if I build R with gcc 7.3.1 (from SCL devtoolset 7), but it does if R is built with gcc 8.3.1 (from SCL devtoolset 8). It fails with:
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘regsem’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/c4/home/henrik/R/x86_64-pc-linux-gnu-library/4.1-CBI-gcc7/00LOCK-regsem/00new/regsem/libs/regsem.so':
/c4/home/henrik/R/x86_64-pc-linux-gnu-library/4.1-CBI-gcc7/00LOCK-regsem/00new/regsem/libs/regsem.so: undefined symbol: regsem_rcpp_fit_fun
Details below. Not sure why - maybe due to some C++14 feature that is not implemented in gcc 7.3.1. FWIW, it installs fine with gcc 7.5.0 on my Ubuntu 18.04 machine with R 4.1.0 also built from source.
Just sharing in case someone else runs into this problem too. I'm on CentOS 7 with R 4.1.0 built from source. I've noticed that regsem does not install if I build R with gcc 7.3.1 (from SCL devtoolset 7), but it does if R is built with gcc 8.3.1 (from SCL devtoolset 8). It fails with:
Details below. Not sure why - maybe due to some C++14 feature that is not implemented in gcc 7.3.1. FWIW, it installs fine with gcc 7.5.0 on my Ubuntu 18.04 machine with R 4.1.0 also built from source.
R 4.1.0 with gcc 7.3.1 (fails)
R 4.1.0 with gcc 8.3.1 (works)
The text was updated successfully, but these errors were encountered: