Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libjpeg.so.8: cannot open shared object file: No such file or directory Centos 8 #321

Open
pr0xxy opened this issue Mar 26, 2021 · 0 comments

Comments

@pr0xxy
Copy link

pr0xxy commented Mar 26, 2021

I am unable to install and use ggmap on centos 8.

install.packages("ggmap")
#> Updating HTML index of packages in '.Library'
#> Making 'packages.html' ... done
library(ggmap)
#> Loading required package: ggplot2
#> Error: package or namespace load failed for 'ggmap' in dyn.load(file, DLLpath = DLLpath, ...):
#>  unable to load shared object '/opt/R/4.0.4/lib/R/library/jpeg/libs/jpeg.so':
#>   libjpeg.so.8: cannot open shared object file: No such file or directory

Created on 2021-03-26 by the reprex package (v1.0.0)

Session info
sessioninfo::session_info()
#> ─ Session info ───────────────────────────────────────────────────────────────
#>  setting  value
#>  version  R version 4.0.4 (2021-02-15)
#>  os       CentOS Stream 8
#>  system   x86_64, linux-gnu
#>  ui       X11
#>  language (EN)
#>  collate  en_US.UTF-8
#>  ctype    en_US.UTF-8
#>  tz       America/New_York
#>  date     2021-03-26
#>
#> ─ Packages ───────────────────────────────────────────────────────────────────
#>  package     * version date       lib source
#>  assertthat    0.2.1   2019-03-21 [1] RSPM (R 4.0.3)
#>  backports     1.2.1   2020-12-09 [1] RSPM (R 4.0.3)
#>  bitops        1.0-6   2013-08-17 [1] RSPM (R 4.0.3)
#>  cli           2.3.1   2021-02-23 [1] RSPM (R 4.0.3)
#>  colorspace    2.0-0   2020-11-11 [1] RSPM (R 4.0.3)
#>  crayon        1.4.1   2021-02-08 [1] RSPM (R 4.0.3)
#>  DBI           1.1.1   2021-01-15 [1] RSPM (R 4.0.3)
#>  debugme       1.1.0   2017-10-22 [1] RSPM (R 4.0.0)
#>  digest        0.6.27  2020-10-24 [1] RSPM (R 4.0.3)
#>  dplyr         1.0.5   2021-03-05 [1] RSPM (R 4.0.3)
#> ellipsis      0.3.1   2020-05-15 [1] RSPM (R 4.0.3)
#>  evaluate      0.14    2019-05-28 [1] RSPM (R 4.0.3)
#>  fansi         0.4.2   2021-01-15 [1] RSPM (R 4.0.3)
#>  fs            1.5.0   2020-07-31 [1] RSPM (R 4.0.3)
#>  generics      0.1.0   2020-10-31 [1] RSPM (R 4.0.3)
#>  ggplot2     * 3.3.3   2020-12-30 [1] RSPM (R 4.0.3)
#>  glue          1.4.2   2020-08-27 [1] RSPM (R 4.0.3)
#>  gtable        0.3.0   2019-03-25 [1] RSPM (R 4.0.3)
#>  highr         0.8     2019-03-20 [1] RSPM (R 4.0.3)
#>  htmltools     0.5.1.1 2021-01-22 [1] RSPM (R 4.0.3)
#>  httr          1.4.2   2020-07-20 [1] RSPM (R 4.0.3)
#>  knitr         1.31    2021-01-27 [1] RSPM (R 4.0.3)
#>  lattice       0.20-41 2020-04-02 [1] CRAN (R 4.0.4)
#>  lifecycle     1.0.0   2021-02-15 [1] RSPM (R 4.0.3)
#>  magrittr      2.0.1   2020-11-17 [1] RSPM (R 4.0.3)
#>  munsell       0.5.0   2018-06-12 [1] RSPM (R 4.0.3)
#>  pillar        1.5.1   2021-03-05 [1] RSPM (R 4.0.3)
#>  pkgconfig     2.0.3   2019-09-22 [1] RSPM (R 4.0.3)
#>  png           0.1-7   2013-12-03 [1] RSPM (R 4.0.3)
#>  purrr         0.3.4   2020-04-17 [1] RSPM (R 4.0.3)
#>  R6            2.5.0   2020-10-28 [1] RSPM (R 4.0.3)
#>  reprex        1.0.0   2021-01-27 [1] RSPM (R 4.0.3)
#>  RgoogleMaps   1.4.5.3 2020-02-12 [1] RSPM (R 4.0.3)
#>  rlang         0.4.10  2020-12-30 [1] RSPM (R 4.0.3)
#>  rmarkdown     2.7     2021-02-19 [1] RSPM (R 4.0.3)
#>  scales        1.1.1   2020-05-11 [1] RSPM (R 4.0.3)
#>  sessioninfo   1.1.1   2018-11-05 [1] RSPM (R 4.0.3)
#>  sp            1.4-5   2021-01-10 [1] RSPM (R 4.0.3)
#>  stringi       1.5.3   2020-09-09 [1] RSPM (R 4.0.3)
#>  stringr       1.4.0   2019-02-10 [1] RSPM (R 4.0.3)
#>  styler        1.4.0   2021-03-22 [1] RSPM (R 4.0.4)
#>  tibble        3.1.0   2021-02-25 [1] RSPM (R 4.0.3)
#>  tidyselect    1.1.0   2020-05-11 [1] RSPM (R 4.0.3)
#>  utf8          1.2.1   2021-03-12 [1] RSPM (R 4.0.3)
#>  vctrs         0.3.6   2020-12-17 [1] RSPM (R 4.0.3)
#>  withr         2.4.1   2021-01-26 [1] RSPM (R 4.0.3)
#>  xfun          0.22    2021-03-11 [1] RSPM (R 4.0.3)
#>  yaml          2.2.1   2020-02-01 [1] RSPM (R 4.0.3)
#>
#> [1] /opt/R/4.0.4/lib/R/library

> system("locate libjpeg.so")
/opt/libjpeg-turbo/lib64/libjpeg.so
/opt/libjpeg-turbo/lib64/libjpeg.so.62
/opt/libjpeg-turbo/lib64/libjpeg.so.62.3.0
/opt/miniconda3/lib/libjpeg.so
/opt/miniconda3/lib/libjpeg.so.9
/opt/miniconda3/lib/libjpeg.so.9.4.0
/opt/miniconda3/pkgs/jpeg-9d-h516909a_0/lib/libjpeg.so
/opt/miniconda3/pkgs/jpeg-9d-h516909a_0/lib/libjpeg.so.9
/opt/miniconda3/pkgs/jpeg-9d-h516909a_0/lib/libjpeg.so.9.4.0
/opt/python/2.7.16/lib/libjpeg.so
/opt/python/2.7.16/lib/libjpeg.so.9
/opt/python/2.7.16/lib/libjpeg.so.9.2.0
/opt/python/2.7.16/pkgs/jpeg-9b-h024ee3a_2/lib/libjpeg.so
/opt/python/2.7.16/pkgs/jpeg-9b-h024ee3a_2/lib/libjpeg.so.9
/opt/python/2.7.16/pkgs/jpeg-9b-h024ee3a_2/lib/libjpeg.so.9.2.0
/opt/python/3.6.5/lib/libjpeg.so
/opt/python/3.6.5/lib/libjpeg.so.9
/opt/python/3.6.5/lib/libjpeg.so.9.3.0
/opt/python/3.6.5/pkgs/jpeg-9b-h024ee3a_2/lib/libjpeg.so
/opt/python/3.6.5/pkgs/jpeg-9b-h024ee3a_2/lib/libjpeg.so.9
/opt/python/3.6.5/pkgs/jpeg-9b-h024ee3a_2/lib/libjpeg.so.9.2.0
/opt/python/3.6.5/pkgs/jpeg-9c-h14c3975_1001/lib/libjpeg.so
/opt/python/3.6.5/pkgs/jpeg-9c-h14c3975_1001/lib/libjpeg.so.9
/opt/python/3.6.5/pkgs/jpeg-9c-h14c3975_1001/lib/libjpeg.so.9.3.0
/opt/python/3.7.3/lib/libjpeg.so
/opt/python/3.7.3/lib/libjpeg.so.9
/opt/python/3.7.3/lib/libjpeg.so.9.2.0
/opt/python/3.7.3/pkgs/jpeg-9b-h024ee3a_2/lib/libjpeg.so
/opt/python/3.7.3/pkgs/jpeg-9b-h024ee3a_2/lib/libjpeg.so.9
/opt/python/3.7.3/pkgs/jpeg-9b-h024ee3a_2/lib/libjpeg.so.9.2.0
/usr/lib64/libjpeg.so
/usr/lib64/libjpeg.so.62
/usr/lib64/libjpeg.so.62.2.0
> system("dnf provides */libjpeg.so.8")
Last metadata expiration check: 1:18:15 ago on Fri 26 Mar 2021 01:47:26 PM EDT.
Error: No Matches found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant