0
0

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 3 years have passed since last update.

OctaveをLinuxでインストールしてplotできなかった時の対処法(error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory)

Posted at

Octave

OctaveとはMatlabと同様、行列やベクトル計算、グラフ化するときに使うソフトウェアである。
Windows, Mac, Linuxいずれもインストールできるが、plotできない場合がある

エラー

例えば
t = [0:0.01:0.98];
y1= sin(2pi4*t);
plot(t,y1);

としたときplotできず
error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

と表示されたとき

どうもGNUplotに問題があるらしい

 対処法

sudo strip --remove-section=.note.ABI-tag /usr/lib64/libQt5Core.so.5

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?