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

installation error #23

Closed
englianhu opened this issue Jun 6, 2021 · 5 comments
Closed

installation error #23

englianhu opened this issue Jun 6, 2021 · 5 comments

Comments

@englianhu
Copy link

✓ [master]> library(splashr)
ℹ splashr not installed. Trying to install nowInstalling splashr
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Error: package or namespace load failed for 'splashr' in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/lib/R/library/magick/libs/magick.so':
  /usr/lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in static TLS block

by refer to Rdatatable/data.table#5030 (comment), downloaded GitHub project and Install & Restart but doesn't help.

2021-06-07_03-26

by refer to ReadME.md via richfitz/stevedore#59, package installed but doesn't help.

@englianhu
Copy link
Author

#5 (comment) doesn't help

✓ [master]> library(splashr)
ℹ splashr not installed. Trying to install nowInstalling splashr
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Error: package or namespace load failed for 'splashr' in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/lib/R/library/magick/libs/magick.so':
  /usr/lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in static TLS block

@englianhu
Copy link
Author

englianhu commented Jun 6, 2021

Install latest ImageMagick version on Ubuntu 20.04 LTS via https://gist.github.com/zulhfreelancer/e104e4b330c8dbc6622d92b8cd525bf6#gistcomment-3769876

x [master]> library(splashr)
ℹ splashr not installed. Trying to install nowInstalling splashr
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Error: package or namespace load failed for 'splashr' in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/lib/R/library/magick/libs/magick.so':
  /usr/lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in static TLS block
x [master]> library(magick)
ℹ magick not installed. Trying to install nowInstalling magick
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Error: package or namespace load failed for 'magick' in get(method, envir = envir):
 lazy-load database '/usr/lib/R/library/magick/R/magick.rdb' is corrupt
In addition: Warning message:
In get(method, envir = envir) : internal error -3 in R_decompress1
-unable to load shared object '/usr/lib/R/library/magick/libs/magick.so':
-  /usr/lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in static TLS block

above error refer to jemalloc/jemalloc#1237, and refer to https://gist.github.com/diginfo/be7347e6e6c4f05375c51bca90f220e8#gistcomment-3770725 and installed but doesn't help.

@englianhu
Copy link
Author

sudo apt install python3-openimageio via https://bugs.launchpad.net/ubuntu/+source/openimageio/+bug/1887223 doesn't help, finally installed via install.packages("splashr", repos = c("https://cinc.rud.is/")).

x [master*]> install.packages("splashr", repos = c("https://cinc.rud.is/"))
Installing package into '/usr/lib/R/library'
(as 'lib' is unspecified)
trying URL 'https://cinc.rud.is/src/contrib/splashr_0.7.0.tar.gz'
Content type 'application/octet-stream' length 1097544 bytes (1.0 MB)
==================================================
downloaded 1.0 MB

* installing *source* packagesplashr...
** packagesplashrsuccessfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (splashr)

@englianhu
Copy link
Author

:~$ sudo su - -c "R -e \"devtools::install_github('johndharrison/HARtools')\""
:~$ sudo su - -c "R -e \"devtools::install_github('hrbrmstr/splashr')\""

https://github.com/johndharrison/HARtools


🇨🇳: 参照 aoles/EBImage#56 (comment) 即可安装成功。
🇬🇧: Installed by refer to aoles/EBImage#56 (comment)

引用:Rdatatable/data.table#5030 (comment)

@englianhu
Copy link
Author

:~$ sudo su - -c "R -e \"devtools::install_github('johndharrison/HARtools')\""
:~$ sudo su - -c "R -e \"devtools::install_github('hrbrmstr/splashr')\""

https://github.com/johndharrison/HARtools

cn: 参照 aoles/EBImage#56 (comment) 即可安装成功。gb: Installed by refer to aoles/EBImage#56 (comment)

引用:Rdatatable/data.table#5030 (comment)

Installation of HARtools and splashr on 🚩🇨🇳🏹红旗中科 RedFlag Linux (🍥Debian 11)

scibrokes/owner#4
scibrokes/mytools#2

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