[Pkg-octave-devel] Bug#846295: octave: Octave can't find correct library files on installation

Mike Miller mtmiller at debian.org
Tue Nov 29 21:37:39 UTC 2016


On Tue, Nov 29, 2016 at 13:20:26 -0800, Gary Roach wrote:
> I attempted to install the Octave package on my Debian Stretch system using
> both Aptitude and apt-get. Both methods resulted in the same error:
> 
> Setting up octave (4.0.3-2+b1) ...
> /usr/local/libexec/octave/4.0.0/exec/x86_64-unknown-linux-gnu/octave-gui:
> error
> while loading shared libraries: libgl2ps.so.0: cannot open shared object
> file:
> No such file or directory
> dpkg: error processing package octave (--configure):
> 
> The .deb file seems to be looking for the wrong version of the lib file. The
> newer version is libgl2ps.so.1
> 
> I set up a soft link from the old version to the new, re-ran the install and
> now get a new error that the installer can't find libcholmod.so.2.1.2.
> 
> Maybe the .deb file is completely out of date.

Actually the above error indicates that you probably have a locally
built /usr/local/bin/octave that is found in $PATH before the
apt-provided /usr/bin/octave.

Can you delete your local installation and try again to verify that the
package is working correctly?

-- 
mike



More information about the Pkg-octave-devel mailing list