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