截至2022年6月,Octave 6.2.0似乎已经失去了依赖性:
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因此,我尝试了以下几点:
sudo apt remove octave
sudo apt upgrade
sudo apt autoremove
sudo apt update
sudo apt upgrade
sudo apt install octave同样的问题。我认为Debian Bullseye只支持QT 6,有什么想法吗?我应该提到这是使用WSL在Windows上运行的Debian
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
发布于 2022-11-02 12:13:01
好的,我终于找到了答案。这是Windows中WSL 1的一个问题。修补程序要么升级到WSL 2(未测试),要么在WSL中发出此命令:
sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
起作用了!
https://stackoverflow.com/questions/72732302
复制相似问题