Luigi Marongiu
2020-Jul-14 11:08 UTC
[R-sig-Debian] How to install libisl.so.19 on chromebook?
Thank you, it looks like I have already libisl: ``` apt search libisl Sorting... Done Full Text Search... Done libisl-dbg/oldstable 0.18-1 amd64 manipulating sets and relations of integer points bounded by linear constraints libisl-dev/oldstable 0.18-1 amd64 manipulating sets and relations of integer points bounded by linear constraints libisl15/oldstable,now 0.18-1 amd64 [installed,automatic] manipulating sets and relations of integer points bounded by linear constraints libisl19/now 0.19-1 amd64 [installed,local] manipulating sets and relations of integer points bounded by linear constraints ``` thus the problem must be with the installation step: I should tell the compiler to look for libisl19 instead of libisl.so.19... On Tue, Jul 14, 2020 at 12:54 PM Dirk Eddelbuettel <edd at debian.org> wrote:> > > 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 | edd at debian.org-- Best regards, Luigi
Dirk Eddelbuettel
2020-Jul-14 11:30 UTC
[R-sig-Debian] How to install libisl.so.19 on chromebook?
There is something wrong with your system / setup I did not notice first:
On 14 July 2020 at 13:08, Luigi Marongiu wrote:
| Thank you, it looks like I have already libisl:
| ```
| apt search libisl
| Sorting... Done
| Full Text Search... Done
| libisl-dbg/oldstable 0.18-1 amd64
| manipulating sets and relations of integer points bounded by linear
| constraints
|
| libisl-dev/oldstable 0.18-1 amd64
| manipulating sets and relations of integer points bounded by linear
| constraints
|
| libisl15/oldstable,now 0.18-1 amd64 [installed,automatic]
| manipulating sets and relations of integer points bounded by linear
| constraints
|
| libisl19/now 0.19-1 amd64 [installed,local]
| manipulating sets and relations of integer points bounded by linear
| constraints
| ```
| thus the problem must be with the installation step: I should tell the
| compiler to look for libisl19 instead of libisl.so.19...
|
| On Tue, Jul 14, 2020 at 12:54 PM Dirk Eddelbuettel <edd at debian.org>
wrote:
| >
| >
| > 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
Why is gfortran calling into /usr/local?
You are outside of the package management system here. Can you not use the
package gfortran (and gcc, g++, ...) because ...
| > | 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
... you are trying the packaged R.
Dirk
| > | 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 | edd at debian.org
|
|
|
| --
| Best regards,
| Luigi
--
https://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Luigi Marongiu
2020-Jul-14 11:57 UTC
[R-sig-Debian] How to install libisl.so.19 on chromebook?
I don't know about the configuration. I installed R using the standard protocol for Chromebook http://blog.sellorm.com/2018/12/20/installing-r-and-rstudio-on-a-chromebook/ the rest, it was done by the system itself... On Tue, Jul 14, 2020 at 1:30 PM Dirk Eddelbuettel <edd at debian.org> wrote:> > > There is something wrong with your system / setup I did not notice first: > > On 14 July 2020 at 13:08, Luigi Marongiu wrote: > | Thank you, it looks like I have already libisl: > | ``` > | apt search libisl > | Sorting... Done > | Full Text Search... Done > | libisl-dbg/oldstable 0.18-1 amd64 > | manipulating sets and relations of integer points bounded by linear > | constraints > | > | libisl-dev/oldstable 0.18-1 amd64 > | manipulating sets and relations of integer points bounded by linear > | constraints > | > | libisl15/oldstable,now 0.18-1 amd64 [installed,automatic] > | manipulating sets and relations of integer points bounded by linear > | constraints > | > | libisl19/now 0.19-1 amd64 [installed,local] > | manipulating sets and relations of integer points bounded by linear > | constraints > | ``` > | thus the problem must be with the installation step: I should tell the > | compiler to look for libisl19 instead of libisl.so.19... > | > | On Tue, Jul 14, 2020 at 12:54 PM Dirk Eddelbuettel <edd at debian.org> wrote: > | > > | > > | > 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 > > Why is gfortran calling into /usr/local? > > You are outside of the package management system here. Can you not use the > package gfortran (and gcc, g++, ...) because ... > > | > | 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 > > ... you are trying the packaged R. > > Dirk > > | > | 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 | edd at debian.org > | > | > | > | -- > | Best regards, > | Luigi > > -- > https://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org-- Best regards, Luigi