R/ RStudio - install devtools fails?

后端 未结 5 1539

I am trying to install devtools in my RStudio. But I get tons of errors:

* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unp         


        
5条回答
  •  野性不改
    2021-02-16 00:34

    Error Message: Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc'

    Executed this command:

    rpm -qa|grep curl

    Result

    python-pycurl-7.19.0-19.el7.x86_64  
    curl-7.29.0-42.el7_4.1.x86_64  
    libcurl-7.29.0-42.el7_4.1.x86_64  
    -->libcurl-devel-7.29.0-42.el7_4.1.x86_64  <---this entry was missing
    

    Executed this command

    yum install libcurl-devel

    problem solved.

提交回复
热议问题