R library "magick" cannot be installed

Hello.

When I try to install the library "magick" with R, the following message is output and I can't install.
Anyone can tell me the cause and how to deal with it.

  • The following error message
$ R
> install.packages ("magick")
・
・
Omitted because no error message was output
・
・
** build package indices
** installing vignettes
** testing if installed package can be loaded
Error package or namespace load failed for 'magick' in dyn.load(file, DLLpath = DLLpath, ...):
Shared library '/home/aai.local/pntd0080/R/x86_64-redhat-linux-gun-library/3.5/magick/libs/magick.so' Cannot load:
/home/aai.local/pntd0080/R/x86_64-redhat-linux-gun-library/3.5/magick/libs/magick.so: undefined symbol: _ZN6Magick5Image5writeEPNS_4BlobERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm
Error: Failed to load
Execution has been stopped
ERROR: loading failed
  • The installed environment is as follows.
    ・OS is RHEL7.6, and system requirements "ImageMagick" and "ImageMagick-c ++-devel" (rpm) are already installed.
    ・Since the rpm version was not specified, "6.7.8.9-18.el7.x86_64." Was installed.
    ・Since the environment is offline, the CRAN site is not used and the miniCRAN environment is stored locally.
    ・R version is 3.5.2.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.