[R] Package installation problem

John
Fri, 29 May 2020 05:03:18 -0000

I'm not certain just what this problem is.  Trying to install the
"curl" package, which "tseries" wants results in the
following error:

****
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libcurl', required by 'virtual:world', not found
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libcurl', required by 'virtual:world', not found
Using PKG_CFLAGSUsing PKG_LIBS=-lcurl
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:
 * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
 * rpm: libcurl-devel (Fedora, CentOS, RHEL)
 * csw: libcurl_dev (Solaris)
If libcurl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package ?curl?
* removing ?/home/john/R/x86_64-redhat-linux-gnu-library/3.6/curl?
Warning in install.packages :
  installation of package ?curl? had non-zero exit status
****

However, libcurl is installed, installed.  What does seem to missing is
"libcurl.pc".  The ../pkgconfig directory contains a number of
different *.pc files, but not that one.  I'm asking here first because
someone else may have already encountered and solved this.  I'm running
Fedora 32 with kde on a 4 X AMD system.  I just updated Fedora.

JWDougherty