On 14 July 2020 at 12:26, Luigi Marongiu wrote: | I am trying to install minpack.lm on R 3.3.3 (Debian version) on a | Chromebook. But I get this error: | ``` | > install.packages("minpack.lm") | Installing package into ‘/home/marongiuluigi/R/x86_64-pc-linux-gnu-library/3.3’ | (as ‘lib’ is unspecified) | trying URL 'https://cran.rstudio.com/src/contrib/minpack.lm_1.2-1.tar.gz' | Content type 'application/x-gzip' length 43029 bytes (42 KB) | ================================================== | downloaded 42 KB | | * installing *source* package ‘minpack.lm’ ... | ** package ‘minpack.lm’ successfully unpacked and MD5 sums checked | ** libs | gfortran -fpic -g -O2 -fdebug-prefix-map=/build/r-base-3.3.3=. | -fstack-protector-strong -c chkder.f -o chkder.o | /usr/local/libexec/gcc/x86_64-cros-linux-gnu/8.3.0/f951: error while | loading shared libraries: libisl.so.19: cannot open shared object | file: No such file or directory | /usr/lib/R/etc/Makeconf:155: recipe for target 'chkder.o' failed | make: *** [chkder.o] Error 1 | ERROR: compilation failed for package ‘minpack.lm’ | * removing ‘/home/marongiuluigi/R/x86_64-pc-linux-gnu-library/3.3/minpack.lm’ | Warning in install.packages : | installation of package ‘minpack.lm’ had non-zero exit status | ``` | I tried to install libisl.so.19 but: | ``` | $ sudo apt-get install libisl.so.19 | Reading package lists... Done | Building dependency tree | Reading state information... Done | E: Unable to locate package libisl.so.19 | E: Couldn't find any package by glob 'libisl.so.19' | E: Couldn't find any package by regex 'libisl.so.19' | ``` | I downloaded libisl.so.19 for debian, but where shall I place it? | Is there an easier way to install this library? | Thank you
That is not the correct package name as it is a _file name_. Use eg https://packages.debian.org/ to search (go to Search the contents of packages) or search directly via apt search libisl which will lead you to packages libisl-dev libisl22 # on the release I run on Ubuntu right now with a major name reflecting the current release. For an older version I find the package search above useful, there are other pages too. Hope this helps, Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian