octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37656] failure to launch, missing library hdf


From: Steve Watson
Subject: [Octave-bug-tracker] [bug #37656] failure to launch, missing library hdf5
Date: Thu, 01 Nov 2012 01:56:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121025 Firefox/10.0.10

URL:
  <http://savannah.gnu.org/bugs/?37656>

                 Summary: failure to launch, missing library hdf5
                 Project: GNU Octave
            Submitted by: ssw0213
            Submitted on: Thu 01 Nov 2012 01:56:09 AM GMT
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

System: RedHat RHEL Client, Release 6.3
Kernel: Linux 2.6.32-279.11.1.el6.x86_64, Gnome 2.28.2

Installed octave as root using the epel repository

yum --enablerepo=epel install octave


then tried to run it as user:
$ octave
octave: error while loading shared libraries: libhdf5.so.6: cannot open shared
object file: No such file or directory


Solution: ran strace on octave to see the directories being looked at, used
find to get the location of libhd5, and added a symlink as follows:

# cd /usr/lib64/octave/3.4.3/
# ln -s /usr/lib64/mpich2/lib/libhdf5.so.6 .
# ls -l libhdf5.so.6 
lrwxrwxrwx. 1 root root 34 Oct 31 21:52 libhdf5.so.6 ->
/usr/lib64/mpich2/lib/libhdf5.so.6


and finally, as user:

$ octave
GNU Octave, version 3.4.3
Copyright (C) 2011 John W. Eaton and others.
...
octave:1>


This is a workaround; an upstream solution would be nice.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37656>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]