10
11

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.

makeで/usr/bin/ld: cannot find -l○○○というエラーが出た時

Posted at

現象

Makeすると、
/usr/bin/ld: cannot find -lX11
などというエラーが出る時があるみたいです。

対処

-l[パッケージ名]ということなので、該当のパッケージをインストールする。

今回の場合はX11に関連するライブラリが足りないということを意味します。
パッケージを検索を以下で検索し
apt-cache search X11

libX11をインストールしましょう。

これで解決できるはずです

10
11
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
10
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?