在Ubuntu上运行opkg的libcurl PKG_CONFIG_PATH问题

时间:2017-02-25 10:34:09

标签: ubuntu libcurl opkg

安装OPKG时,会为“./configure”生成以下日志。

    checking for CURL... no
    configure: error: Package requirements (libcurl) were not met:

    No package 'libcurl' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables CURL_CFLAGS
    and CURL_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.

我已经尝试过以下事项:

    $ sudo apt-get install libcurl4-openssl-dev

请尽快帮忙!

1 个答案:

答案 0 :(得分:2)

在“sudo apt-get install libcurl4-openssl-dev”之后重启R studio,它为devtools和libcurl安装工作