4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

curlパッケージにはlibcurl4-gnutls-devが必要

4
Posted at

Stackで依存関係の一部としてcurlパッケージをインストールしようとしたところ、次のようなエラーメッセージが表示されました。

Configuring curl-1.3.8...
setup: Missing dependency on a foreign library:
* Missing (or bad) C library: curl
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version)..

aptcurlを探してみると、libcurl4は既に入っているし他にlibcurl3もあるしでよく分からない状態。そこで検索したところ、このMissing C libararyとはlibcurl4-gnutls-devを指すのだということが分かりました。

Make libcurl4-gnutls-dev dependency more obvious · Issue #2813 · commercialhaskell/stack

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?