You are not logged in.

#1 2013-10-26 21:36:50

brad
Member
From: Eugene, Oregon, USA
Registered: 2013-01-25
Posts: 18
Website

[Solved] Octave installation unable to find shared library

I installed octave from the extra repository, but it doesn't run. When I try to run it from the command line, it fails with the following error:

octave: error while loading shared libraries: libhdf5.so.8: cannot open shared object file: No such file or directory


Any idea what I could be doing wrong?

Last edited by brad (2013-10-26 23:29:13)

Offline

#2 2013-10-26 21:53:01

haaja
Member
Registered: 2011-03-30
Posts: 22
Website

Re: [Solved] Octave installation unable to find shared library

I tried installing octave and it worked just fine. You do have hdf5 installed? Try running ldconfig.

Last edited by haaja (2013-10-26 21:53:47)

Offline

#3 2013-10-26 21:57:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Octave installation unable to find shared library

Update your system...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2013-10-26 23:28:51

brad
Member
From: Eugene, Oregon, USA
Registered: 2013-01-25
Posts: 18
Website

Re: [Solved] Octave installation unable to find shared library

Thanks guys, you were both right :-). I did not have hdf5 installed. I see that it is a dependency in the current package, but my machine is out of date so I guess that's why I didn't have it. I suppose any time I have trouble, doing a system update is probably a good thing to try.
Thanks again!

Offline

#5 2013-10-26 23:31:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Octave installation unable to find shared library

brad wrote:

I suppose any time I have trouble, doing a system update is probably a good thing to try.

Indeed :-)
https://bbs.archlinux.org/viewtopic.php?id=130309

IF YOUR SYSTEM IS NOT UP TO DATE - YOU ARE DOING IT WRONG. PACMAN -Syu *BEFORE* POSTING

Please update your system before installing new software.

Offline

#6 2013-10-26 23:31:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Octave installation unable to find shared library

brad wrote:

I suppose any time I have trouble, doing a system update is probably a good thing to try.


Or, just keep your system up-to-date and avoid trouble entirely...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2013-10-26 23:43:59

brad
Member
From: Eugene, Oregon, USA
Registered: 2013-01-25
Posts: 18
Website

Re: [Solved] Octave installation unable to find shared library

jasonwryan wrote:

Or, just keep your system up-to-date and avoid trouble entirely...

I don't know about entirely. There have been times where I updated my system only to find that it wouldn't boot into the desktop environment for one reason or another. Most of the time it's fine though, and will probably result in less trouble overall than you can run into from not keeping it up to date.

Offline

#8 2013-10-26 23:47:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Octave installation unable to find shared library

The more you use Arch and the more diligent you are about updating, the less you see any sorts of issues (other than those caused by tinkering, obviously...).

Put it this way, I've used Arch on my personal and work machines for years now. The only times I have had problems were with my personal laptop (which runs [testing]), and that is because I am always playing around with it. I haven't lost an hour of uptime on a work box since I started using Arch.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2013-10-26 23:52:36

brad
Member
From: Eugene, Oregon, USA
Registered: 2013-01-25
Posts: 18
Website

Re: [Solved] Octave installation unable to find shared library

Total Download Size:    1393.99 MiB
Total Installed Size:   4378.80 MiB
Net Upgrade Size:       -143.61 MiB

:: Proceed with installation? [Y/n]

Yes, I know I'm bad. Working on it

Offline

#10 2013-10-26 23:57:22

brad
Member
From: Eugene, Oregon, USA
Registered: 2013-01-25
Posts: 18
Website

Re: [Solved] Octave installation unable to find shared library

jasonwryan wrote:

Put it this way, I've used Arch on my personal and work machines for years now. The only times I have had problems were with my personal laptop (which runs [testing]), and that is because I am always playing around with it. I haven't lost an hour of uptime on a work box since I started using Arch.

I guess I just wasn't as lucky. I've been using for Arch for less than a year, and I ran into an issue a few months back (when I was running updates daily) that took me an hour or so to resolve using another machine to look in the forums for help. I guess there's a sweet spot for the length of time to wait between running updates: often enough to not run into issues installing things, but seldom enough to allow time for others to workout any issues with updates ;-)

Offline

Board footer

Powered by FluxBB