lxqt / lxqt-panel

The LXQt desktop panel
https://lxqt-project.org
GNU Lesser General Public License v2.1
179 stars 135 forks source link

lxqt-panel: symbol lookup error: /usr/lib64/lxqt-panel/libvolume.so: undefined symbol: _ZNK14PluginSettings5groupEv #2052

Closed slackernetuk closed 2 months ago

slackernetuk commented 2 months ago
Expected Behavior

A default panel should start under X11

Current Behavior
Cannot load library /usr/lib64/lxqt-panel/libmount.so: (/usr/lib64/lxqt-panel/libmount.so: undefined symbol: _ZN27LXQtPanelPluginConfigDialog16staticMetaObjectE)"
/usr/bin/lxqt-panel: symbol lookup error: /usr/lib64/lxqt-panel/libvolume.so: undefined symbol: _ZNK14PluginSettings5groupEv
Possible Solution

Rebuild LXQt 2.0 in order, no change.


lxqt-build-tools
libqtxdg
lxqt-menu-data
liblxqt
libsysstat
qtxdg-tools
libfm-extra
menu-cache
libfm-qt
lxqt-themes
qjson 
libdbusmenu-lxqt
lxqt-qtplugin
lxqt-about 
lxqt-admin 
lxqt-openssh-askpass 
lxqt-sudo 
lxqt-config
layer-shell-qt6
lxqt-session 
pcmanfm-qt 
libstatgrab 
lxqt-panel 
muParser 
lxqt-runner
xdg-desktop-portal-lxqt
``

##### System Information
* LXQt Version: 2.0
* Distribution & Version: Slackware current
* Qt Version: 6.6.3
* liblxqt Version: 2.0.0
tsujan commented 2 months ago

Have you installed solid V6? It's among required packages.

slackernetuk commented 2 months ago

Have you installed solid V6? It's among required packages.

Yes, solid-6.1.0 is installed.

stefonarch commented 2 months ago

In your build order lxqt-globalkeys is missing, but the panel shouldn't build without it.

slackernetuk commented 2 months ago

In your build order lxqt-globalkeys is missing, but the panel shouldn't build without it.

Sorry my order list is a bit messy, here is my complete order:

# QT6/KDE6 dependencies

polkit-qt-1
polkit-qt6-1
extra-cmake-modules
layer-shell-qt6
plasma-wayland-protocols
kwindowsystem
kwayland
kconfig
solid
kidletime
jq
libkscreen
breeze-icons
kguiaddons

# lxqt core

lxqt-build-tools
libqtxdg
lxqt-menu-data
liblxqt
libsysstat
qtxdg-tools
libfm-extra
menu-cache
libfm-qt
lxqt-themes
qjson
libdbusmenu-lxqt
lxqt-qtplugin
lxqt-about
lxqt-admin
lxqt-openssh-askpass
lxqt-sudo
lxqt-config
lxqt-globalkeys 
lxqt-policykit 
lxqt-session
pcmanfm-qt
libstatgrab
lxqt-panel
lxqt-powermanagement
muParser
lxqt-runner
xdg-desktop-portal-lxqt

# lxqt apps

lximage-qt
lxqt-archiver
lxqt-notificationd
pavucontrol-qt
qps
qtermwidget
qterminal
screengrab

I'll rebuild LXQT, because I forgot to build kguiaddons. And hopefully it will work. :-)

Edit: No luck, lxqt-panel crashed.

starting
"Cannot load library /usr/lib64/lxqt-panel/libmount.so: (/usr/lib64/lxqt-panel/libmount.so: undefined symbol: _ZN27LXQtPanelPluginConfigDialog16staticMetaObjectE)"
lxqt-panel: symbol lookup error: /usr/lib64/lxqt-panel/libvolume.so: undefined symbol: _ZNK14PluginSettings5groupEv
berolinux commented 2 months ago

The problem is that the plugins don't see the symbols that are defined in the lxqt-panel binary itself. Chances are the linker is not exporting symbols from the binary because it isn't a library. Adding -rdynamic to the linker flags should help.

berolinux commented 2 months ago

PR 2053 fixes it.