When you get error message below,
configure: error:
--------------------------------------------------------------------------------
Configuration failed because libudunits2.so was not found. Try installing:
* deb: libudunits2-dev (Debian, Ubuntu, ...)
* rpm: udunits2-devel (Fedora, EPEL, ...)
* brew: udunits (OSX)
If udunits2 is already installed in a non-standard location, use:
--configure-args='--with-udunits2-lib=/usr/local/lib'
if the library was not found, and/or:
--configure-args='--with-udunits2-include=/usr/include/udunits2'
if the header was not found, replacing paths with appropriate values.
You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.
--------------------------------------------------------------------------------
Try below command in your shell.
sudo apt install libudunits2-dev
And install the units package in R
install.packages("units")
반응형
'Linux, Ubuntu, R > Installation error' 카테고리의 다른 글
[Linux/Ubuntu/R-environment] R package gsl install error (0) | 2024.12.02 |
---|---|
[Linux/Ubuntu/R-environment] R package Cairo install errors (0) | 2024.12.02 |
[Linux/Ubuntu/R-environment] R package textshaping install error (0) | 2024.12.02 |
[Linux/Ubuntu/R-environment] R package systemfonts install error (0) | 2024.12.02 |