[R] Package installation problem

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Fri May 29 09:19:03 CEST 2020


The library alone is not enough... you have to have the development headers for compiling code against the library.

On May 28, 2020 10:03:18 PM PDT, John via R-help <r-help using r-project.org> wrote:
>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_CFLAGS=
>Using 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
>
>______________________________________________
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

-- 
Sent from my phone. Please excuse my brevity.



More information about the R-help mailing list