Binary packages compiled with libopenblas


I found an issue while using binary package (instead of source) of missing libopenblas. I am using Ubuntu Focal distribution and rstudio-server runs fine with BLAS (/usr/lib/x86_64-linux-gnu/blas/ ) from sessionInfo.

After installing Binary package like "mgcv" the loading fails with below error.

library(mgcv)Loading required package: nlmeError: package or namespace load failed for ‘mgcv’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/mnt/code/.R/mgcv/libs/': cannot open shared object file: No such file or directory

While package mgcv successfully installs and load when compiled from Source.
Why is RStudio IDE and binary package are compiled with different BLAS libraries?

Any help is much appreciated.


You need to install the Ubuntu package that has Try installing the libopenblas0 package, AFAICT that will solve the issue. You can browse and search Ubuntu packages at