LoginSignup
4
4

More than 5 years have passed since last update.

WSLのArchLinuxでgnuplotが使えない

Posted at

エラー表示

WSLにArchLinuxが入ったので, 意気揚々とgnuplotをインストールしました.

bash
   sudo pacman -S gnuplot

それでgnuplotを実行しようと思ったら...

bash
   gnuplot: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

と言って怒られてしまいました.

解決方法

次のようにコマンドを走らせるだけで, エラーを吐かなくなります.

bash
   sudo strip --remove-section=.note.ABI-tag /usr/lib/libQt5Core.so.5.<...>

<...>の部分には, 現在入っているlibQt5Core.soの種類に応じて変更してください.(たくさんあるように見えますが, 私の環境では他はシンボリックリンクで, 存在しているのは一つのみでした)

最後に

あまりこのコマンドを理解しておりませんので, なにか情報を提供いただけたら非常にうれしいです.

4
4
1

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
4