2

As of June 2022, Octave 6.2.0 appears to have a broken dependency:

   octave
/usr/libexec/octave/6.2.0/exec/x86_64-pc-linux-gnu/octave-gui: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

So I tried the following:

sudo apt remove octave
sudo apt upgrade
sudo apt autoremove
sudo apt update
sudo apt upgrade
sudo apt install octave

Same issue. I think Debian Bullseye only supports QT 6. Any ideas? I should mention this is Debian running on Windows using WSL

cat /etc/debian_version

11.3

cat /etc/os-release

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye

Tasos Papastylianou
  • 21,371
  • 2
  • 28
  • 57
Twostates
  • 41
  • 3
  • You could ask at the octave mailing list or check the bugtracker to see if this is a known issue. By the way, the latest version is actually 7.1.0. You could try installing this from source (which is the best way to install octave anyway). – Tasos Papastylianou Jun 23 '22 at 16:30
  • Thanks. so I did post but it turns out this is an error in Debian on WSL not Octave – Twostates Nov 02 '22 at 12:13

1 Answers1

2

OK So I finally found the answer. This is an issue with WSL 1 in Windows. The fix is either upgrade to WSL 2 (not tested) or issue this command in WSL:

sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

which worked!

Twostates
  • 41
  • 3