Install error:Error in dyn.load(file, DLLpath = DLLpath, ...)
fengfengyuyu opened this issue · comments
fengfengyuyu commented
hi,
I met an error during installing influenceR:
installing to /home/a/R/x86_64-pc-linux-gnu-library/3.3/influenceR/libs
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object ‘/home/a/R/x86_64-pc-linux-gnu-library/3.3/influenceR/libs/influenceR.so’::
/usr/lib/x86_64-linux-gnu/libgomp.so.1: version `GOMP_4.0' not found (required by /home/a/R/x86_64-pc-linux-gnu-library/3.3/influenceR/libs/influenceR.so)
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/a/R/x86_64-pc-linux-gnu-library/3.3/influenceR’
Warning in install.packages :
installation of package ‘influenceR’ had non-zero exit status
System information:
$ uname -a
Linux a-All-Series 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Could you be kindly to give me advice to solve it?
Thanks a lot!
fengfengyuyu commented
I found the reason. the version of libgomp.so.1 is too old. I download gcc 4.9.2, extract new libgomp.so.1, then replace old one. then solved my issue.
yaklichk0727 commented
How do you extract libgomp.so.1? From where do you download gcc 4.9.2?
Marex-me commented
It helped me to install.packages("RCurl")