I did a clean install of Leap 15.4 and selected LXqt as desktop. Everything installed fine but once in the operating system, there is option for “LXqt Appearance” to configure the taskbar or themes but it fails to launch. Any one else have this happen?
If i run lxqt-config-appearance in terminal I get this error:
lxqt-config-appearance: error while loading shared libraries: liblxqt-config-cursor.so: cannot open shared object file: No such file or directory
It’s not only Appearance config but the Keyboard and Mouse config throwing same error. The other LXqt config apps seem to work.
Also found this: https://github.com/lxqt/lxqt/issues/793
But that was in 2015. Anyone know how to fix?
Run
strace -f -o /tmp/strace.log lxqt-config-appearance
and upload /tmp/strace.log to https://susepaste.org/. Also show output of
rpm -ql lxqt-config
strace:
lxqt-config-appearance: error while loading shared libraries: liblxqt-config-cursor.so: cannot open shared object file: No such file or directory
rpm -ql lxqt-config:
/etc/xdg/menus
/etc/xdg/menus/lxqt-config.menu
/usr/bin/lxqt-config
/usr/bin/lxqt-config-appearance
/usr/bin/lxqt-config-brightness
/usr/bin/lxqt-config-file-associations
/usr/bin/lxqt-config-input
/usr/bin/lxqt-config-locale
/usr/bin/lxqt-config-monitor
/usr/lib64/lxqt-config
/usr/lib64/lxqt-config/liblxqt-config-cursor.so
/usr/share/applications/lxqt-config-appearance.desktop
/usr/share/applications/lxqt-config-brightness.desktop
/usr/share/applications/lxqt-config-file-associations.desktop
/usr/share/applications/lxqt-config-input.desktop
/usr/share/applications/lxqt-config-locale.desktop
/usr/share/applications/lxqt-config-monitor.desktop
/usr/share/applications/lxqt-config.desktop
/usr/share/desktop-directories
/usr/share/desktop-directories/lxqt-settings-lxqt.directory
/usr/share/desktop-directories/lxqt-settings-other.directory
/usr/share/desktop-directories/lxqt-settings-system.directory
/usr/share/doc/packages/lxqt-config
/usr/share/doc/packages/lxqt-config/AUTHORS
/usr/share/icons/hicolor/48x48/apps/brightnesssettings.svg
/usr/share/licenses/lxqt-config
/usr/share/licenses/lxqt-config/LICENSE
/usr/share/lxqt
/usr/share/lxqt/icons
/usr/share/lxqt/icons/monitor.svg
/usr/share/man/man1/lxqt-config-appearance.1.gz
/usr/share/man/man1/lxqt-config-mouse.1.gz
/usr/share/man/man1/lxqt-config.1.gz
Also if I do: “/usr/lib64/lxqt-config/liblxqt-config-cursor.so” in terminal…
Segmentation fault (core dumped)
This is a packaging bug caused by default cmake options used during (open)SUSE package build. It sets -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON which skips adding rpath so binaries cannot find libraries unless libraries are placed in default location.
You should open bug report, you can point to https://bugzilla.opensuse.org/show_bug.cgi?id=1200483 for similar problem which has exactly the same root cause.
Thanks for the help. Also I found a copy of liblxqt-config-cursor.so in /usr/lib64/lxqt-config/ and the strace log said one of the locations it was looking for the file was in just /usr/lib64/ so not sure if this is safe but I ran (as root):
cp /usr/lib64/lxqt-config/liblxqt-config-cursor.so /usr/lib64/liblxqt-config-cursor.so
And now both LXqt Appearance and LXqt Keyboard and Mouse launch correctly.
I’ll look into doing a bug report.
https://en.opensuse.org/openSUSE:Submitting_bug_reports
and, with the same username/password as here
https://bugzilla.opensuse.org/index.cgi