Project

General

Profile

Bug #5365

/usr/bin/octave has the wrong rpath

Added by Johann Oskarsson over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
2014-11-21
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The binary /usr/bin/octave does not have /usr/gnu/lib in it's rpath, and doesn't find libncurses.

johann@asuka:~% octave
ld.so.1: octave-3.6.3: fatal: libncurses.so.5: open failed: No such file or directory

A workaround, is to append /usr/gnu/lib to it's rpath; as root:

root@asuka:~# elfedit /usr/bin/octave
> dyn:rpath /usr/lib/octave/3.6.3:/usr/gcc/4.6/lib:/usr/gcc/lib:/usr/gnu/lib
> write
> quit

Also available in: Atom PDF