Help us understand the problem. What is going on with this article?

WSLのArchLinuxでgnuplotが使えない

More than 1 year has passed since last update.

エラー表示

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の種類に応じて変更してください.(たくさんあるように見えますが, 私の環境では他はシンボリックリンクで, 存在しているのは一つのみでした)

最後に

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

ryoi084
この写真はまりものアプリのものです.
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした