Steve Gutreuter
2018-Sep-22 20:08 UTC
[R-sig-Debian] libRblas.so: cannot open shared object file: No such file or directory
R 3.5.1 is installed under Linux Mint 19 from binaries r-base and r-base-dev from ubuntu bionic-cran35.? Mysteriously, packages using libRblas cannot be compiled.? I get: libRblas.so: cannot open shared object file: No such file or directory.? And indeed, I find no libRblas.so. Any ideas about how to fix this? Thanks, Steve
Dirk Eddelbuettel
2018-Sep-22 20:55 UTC
[R-sig-Debian] libRblas.so: cannot open shared object file: No such file or directory
On 22 September 2018 at 16:08, Steve Gutreuter wrote: | R 3.5.1 is installed under Linux Mint 19 from binaries r-base and | r-base-dev from ubuntu bionic-cran35.? Mysteriously, packages using | libRblas cannot be compiled.? I get: libRblas.so: cannot open shared | object file: No such file or directory.? And indeed, I find no libRblas.so. | | Any ideas about how to fix this? What does sessionInfo() show? For me on this computer it is R> sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.1 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3 LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so [...] If Mint follows the setup I use for the Debian package, then you _never have libRblas.so_ because we use the _external_ BLAS. This allows you to switch to Atlas (tuned BLAS), OpenBLAS (multithreaded), Intel MKL (multithreaded and possibly a little faster than OpenBLAS but much bigger), ... Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Steve Gutreuter
2018-Sep-23 13:16 UTC
[R-sig-Debian] libRblas.so: cannot open shared object file: No such file or directory
Thanks Dirk.? That is what I thought, and sessionInfo() returns: Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3.10.3 LAPACK: /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3.10.3 locale: ?[1] LC_CTYPE=en_US.UTF-8?????? LC_NUMERIC=C ?[3] LC_TIME=en_US.UTF-8??????? LC_COLLATE=en_US.UTF-8 ?[5] LC_MONETARY=en_US.UTF-8??? LC_MESSAGES=en_US.UTF-8 ?[7] LC_PAPER=en_US.UTF-8?????? LC_NAME=C ?[9] LC_ADDRESS=C?????????????? LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C so R is indeed aware of a blas.? However, packages that require a blas fail to build and return libRblas.so: cannot open shared object file: No such file or directory Baffled, Steve On 09/22/2018 04:55 PM, Dirk Eddelbuettel wrote:> On 22 September 2018 at 16:08, Steve Gutreuter wrote: > | R 3.5.1 is installed under Linux Mint 19 from binaries r-base and > | r-base-dev from ubuntu bionic-cran35.? Mysteriously, packages using > | libRblas cannot be compiled.? I get: libRblas.so: cannot open shared > | object file: No such file or directory.? And indeed, I find no libRblas.so. > | > | Any ideas about how to fix this? > > What does sessionInfo() show? For me on this computer it is > > R> sessionInfo() > R version 3.5.1 (2018-07-02) > Platform: x86_64-pc-linux-gnu (64-bit) > Running under: Ubuntu 18.04.1 LTS > > Matrix products: default > BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3 > LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so > [...] > > > If Mint follows the setup I use for the Debian package, then you _never have > libRblas.so_ because we use the _external_ BLAS. This allows you to switch > to Atlas (tuned BLAS), OpenBLAS (multithreaded), Intel MKL (multithreaded and > possibly a little faster than OpenBLAS but much bigger), ... > > Dirk >
Ista Zahn
2018-Sep-23 13:57 UTC
[R-sig-Debian] libRblas.so: cannot open shared object file: No such file or directory
On Sat, Sep 22, 2018 at 4:08 PM Steve Gutreuter <sgutreuter at gmail.com> wrote:> > R 3.5.1 is installed under Linux Mint 19 from binaries r-base and > r-base-dev from ubuntu bionic-cran35. Mysteriously, packages using > libRblas cannot be compiled. I get: libRblas.so: cannot open shared > object file: No such file or directory. And indeed, I find no libRblas.so. > > Any ideas about how to fix this?Can you show use an example? That is, what code did you run exactly, and what was the error, exactly? --Ista> > Thanks, > > Steve > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Steve Gutreuter
2018-Sep-23 14:09 UTC
[R-sig-Debian] libRblas.so: cannot open shared object file: No such file or directory
For example, install.packages("emplik") is failing with: libRblas.so: cannot open shared object file: No such file or directory As Dirk pointed out, this is likely an error in the emplik package, Steve On 09/23/2018 09:57 AM, Ista Zahn wrote:> On Sat, Sep 22, 2018 at 4:08 PM Steve Gutreuter <sgutreuter at gmail.com> wrote: >> R 3.5.1 is installed under Linux Mint 19 from binaries r-base and >> r-base-dev from ubuntu bionic-cran35. Mysteriously, packages using >> libRblas cannot be compiled. I get: libRblas.so: cannot open shared >> object file: No such file or directory. And indeed, I find no libRblas.so. >> >> Any ideas about how to fix this? > Can you show use an example? That is, what code did you run exactly, > and what was the error, exactly? > > --Ista > >> Thanks, >> >> Steve >> >> _______________________________________________ >> R-SIG-Debian mailing list >> R-SIG-Debian at r-project.org >> https://stat.ethz.ch/mailman/listinfo/r-sig-debian