konsole 命令在 WSL Ubuntu20.04 中没有 运行; libQt5Core.so 未找到
konsole command does not run at WSL Ubuntu20.04; libQt5Core.so not found
我已经从微软商店安装了 Ubuntu 20.04,并安装了 "konsole" 和
sudo apt-get -y install konsole
这不会给出任何错误消息,并且 "konsole" 程序会安装到“/usr/bin/konsole”中。
konsole 的版本是“4:19.12.3-0ubuntu1”
当我想要 运行 konsole 时,我收到错误消息:
konsole: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
包含libQt5Core.so.5的libQt确实存在于/usr/lib/x86_64-linux-gnu/中,其中libDt5Core.so.5是符号link到libQt5Core.so.5.12 .8
这是 cat /ext/ld.so.conf.d/*
的输出
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
据我所知,一切都与我的并行 Ubuntu 18.04 安装相同,其中 "konsole" 命令 运行 没问题? (当然konsole的版本不同)
我还没有安装本机 Ubuntu 20.04,但我很想为我在 Microsoft Windows WSL 上的应用程序安装 Ubuntu 20.04 到 运行。
您必须按照以下步骤操作:
- 安装 binutils
apt-get install -y binutils
然后运行:
strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
Br
我已经从微软商店安装了 Ubuntu 20.04,并安装了 "konsole" 和
sudo apt-get -y install konsole
这不会给出任何错误消息,并且 "konsole" 程序会安装到“/usr/bin/konsole”中。 konsole 的版本是“4:19.12.3-0ubuntu1”
当我想要 运行 konsole 时,我收到错误消息:
konsole: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
包含libQt5Core.so.5的libQt确实存在于/usr/lib/x86_64-linux-gnu/中,其中libDt5Core.so.5是符号link到libQt5Core.so.5.12 .8
这是 cat /ext/ld.so.conf.d/*
的输出/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
据我所知,一切都与我的并行 Ubuntu 18.04 安装相同,其中 "konsole" 命令 运行 没问题? (当然konsole的版本不同) 我还没有安装本机 Ubuntu 20.04,但我很想为我在 Microsoft Windows WSL 上的应用程序安装 Ubuntu 20.04 到 运行。
您必须按照以下步骤操作: - 安装 binutils
apt-get install -y binutils
然后运行:
strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
Br