wps在ARM64的debian13(trixie)上不能运行
wps版本wps-office_12.1.2.2250.AK.preload.sw_arm64.deb
安装完成后运行报如下错误
$ /opt/kingsoft/wps-office/office6/wpsoffice
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0770 instead of 0700
Cannot find libdbus-1 in your system to resolve symbol 'dbus_get_local_machine_id'.
段错误
$
用GDB调试,栈回溯日志如下:
$ gdb /opt/kingsoft/wps-office/office6/wpsoffice
GNU gdb (Debian 16.3-1) 16.3
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/kingsoft/wps-office/office6/wpsoffice...
(No debugging symbols found in /opt/kingsoft/wps-office/office6/wpsoffice)
(gdb) run
Starting program: /opt/kingsoft/wps-office/office6/wpsoffice
Python Exception <class 'ModuleNotFoundError'>: No module named 'libstdcxx'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
[New Thread 0x7fffef81f160 (LWP 36297)]
Cannot find libdbus-1 in your system to resolve symbol 'dbus_get_local_machine_id'.
Thread 1 "wpsoffice" received signal SIGSEGV, Segmentation fault.
0x00007ffff378b4fc in kso_qt::QLibrary::resolve(char const*) ()
from /opt/kingsoft/wps-office/office6/libQt5CoreKso.so.5
(gdb) bt
#0 0x00007ffff378b4fc in kso_qt::QLibrary::resolve(char const*) ()
from /opt/kingsoft/wps-office/office6/libQt5CoreKso.so.5
#1 0x00007ffff6274c90 in ?? ()
from /opt/kingsoft/wps-office/office6/libQt5DBusKso.so.5
#2 0x00007ffff6222c60 in kso_qt::QDBusConnection::localMachineId() ()
from /opt/kingsoft/wps-office/office6/libQt5DBusKso.so.5
#3 0x00007fffeef7da4c in ?? ()
from /opt/kingsoft/wps-office/office6/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
#4 0x00007fffeef7dea4 in ?? ()
from /opt/kingsoft/wps-office/office6/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
#5 0x00007fffeef70d94 in ?? ()
from /opt/kingsoft/wps-office/office6/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
#6 0x00007fffeef7fd44 in ?? ()
from /opt/kingsoft/wps-office/office6/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
#7 0x00007ffff3b2b090 in kso_qt::QPlatformInputContextFactory::create(kso_qt::QString const&) () from /opt/kingsoft/wps-office/office6/libQt5GuiKso.so.5
#8 0x00007fffefd79484 in kso_qt::QXcbIntegration::initialize() ()
from /opt/kingsoft/wps-office/office6/qt/plugins/platforms/../../lib/libQt5XcbQpaKso.so.5