Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
1
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

@v97ug

stack install curlができないときの解決法(Ubuntu)

libcurl4-gnutls-devをインストール

環境

Ubuntu 16.04 LTS

このようなエラーがでる

 setup: Missing dependency on a foreign library:
    * Missing C library: curl
    This problem can usually be solved by installing the system package that
    provides this library (you may need the "-dev" version). If the library is
    already installed but in a non-standard location then you can use the flags
    --extra-include-dirs= and --extra-lib-dirs= to specify where it is.

解決法

libcurl4-gnutls-devというパッケージをインストールすれば解決します。

sudo apt install libcurl4-gnutls-dev

参考

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
1
Help us understand the problem. What are the problem?