Hi John, This is a bit off-topic for this mailing list as your issue is a linux, specifically Fedora, issue, and not R. I don't use Fedora but I did a quick Google search on
fedora missing package .pc file and that came back with a lot of hits. This one in particular should be a good place to start. It gives some explanation as to when installation will result in a .pc file (seems to relate to -dev versions). https://stackoverflow.com/questions/33050517/supply-pc-file-for-pkg-config HTH, Eric On Fri, May 29, 2020 at 8:03 AM John via R-help <r-help@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@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. ______________________________________________ R-help@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.