LoginSignup
2
1

More than 5 years have passed since last update.

[git] gitで libcurl.so.4 が No such file or directory

Posted at

gitを使っていると以下の様なエラーが表示されました。

git-remote-http: error while loading shared libraries: 
libcurl.so.4: cannot open shared object file: No such file or directory

原因は分かりませんが、いつの間にか環境変数が抜けていたようです。

以下をrcファイルに追記するなどして下さい。

LD_LIBRARY_PATH="/usr/local/lib"
2
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
2
1