LoginSignup
2
2

More than 5 years have passed since last update.

awsにoctaveのインストール

Posted at

awsにoctaveのインストール

環境

$cat /proc/version
Linux version 3.4.76-65.111.amzn1.x86_64 (mockbuild@gobi-build-31004)
 (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #1 SMP Tue Jan 14 21:06:49 UTC 2014

octaveのインストール

yum --enablerepo=epel install octave

エラー

octaveを実行すると、
error while loading shared libraries: libhdf5.so.6: cannot open shared object file: No such file or directory
が表示される

下記実行

#cd /etc/ld.so.conf.d/
#touch gdal.conf
中に/usr/lib64/mpich2/libを記載
#ldconfig
#ldconfig -p | grep libhdf5

# ldconfig -p | grep libhdf5
        libhdf5hl_fortran.so.6 (libc6,x86-64) => /usr/lib64/mpich2/lib/libhdf5hl_fortran.so.6
        libhdf5_hl.so.6 (libc6,x86-64) => /usr/lib64/mpich2/lib/libhdf5_hl.so.6
        libhdf5_fortran.so.6 (libc6,x86-64) => /usr/lib64/mpich2/lib/libhdf5_fortran.so.6
        libhdf5.so.6 (libc6,x86-64) => /usr/lib64/mpich2/lib/libhdf5.so.6

その後

octaveコマンドで正常に起動・動作確認

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