https://bugs.kde.org/show_bug.cgi?id=475699
Bug ID: 475699
Summary: Can't find libappstream.so.5 library
Classification: Developer tools
Product: kdesrc-build
Version: Git
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
STEPS TO REPRODUCE
1. When the system has two directories /usr/lib64 and /usr/lib/x86_64-linux-gnu
2. cd ~/kde6 && ./kdesrc-build plasma-desktop appstream && bash
~/kde6/build/kde/workspace/plasma-workspace/login-sessions/install-sessions.sh
3. reboot system and login in plasma6 then click the applauncher
OBSERVED RESULT
file:///home/tomblack/kde6/usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/main.qml:20:1:
can't load library
/home/tomblack/kde6/usr/lib64/qml/org/kde/plasma/private/kicker/libkickerplugin.so:(libappstream.so.5:
can't open shared library: no file or directory )
EXPECTED RESULT
the app should show
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20231013
(available in About System)
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
ADDITIONAL INFORMATION
I remove the /usr/lib/x86_64-linux-gnu . And rebuild the appstrem use
kdesrc-build. The applauncher shows the apps.
I find the code in kde-env-master.sh
---------code-------
libname=lib
if test -d /usr/lib/x86_64-linux-gnu; then
libname=lib/x86_64-linux-gnu
elif test -d /usr/lib64 -a '!' -L /usr/lib64; then
libname=lib64
fi
------code------
and code in modules/ksb/BuildContext.pm
----code----
my $libname = "lib";
$libname = "lib64" if (-d "/usr/lib64" and not -l "/usr/lib64");
$libname = "lib/x86_64-linux-gnu" if (-d "/usr/lib/x86_64-linux-gnu");
---code---
I think the order is the reson
--
You are receiving this mail because:
You are watching all bug changes.