Bug 444658 - lib*.so.X.Y.Z file type listed as executable instead of shared library
Summary: lib*.so.X.Y.Z file type listed as executable instead of shared library
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.08.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-30 10:01 UTC by Marco Rebhan
Modified: 2023-12-03 19:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Rebhan 2021-10-30 10:01:19 UTC
SUMMARY
Shared libraries are listed as executables if their filenames don't end in .so. Often, libraries are versioned, e.g. "libQt5Core.so.5.15.2", which causes them to lose the "shared library" type in dolphin. The "libQt5Core.so" symlink to the library is still listed as a shared library as expected.

STEPS TO REPRODUCE
1. Look for a shared library in /usr/lib that is versioned, e.g. Qt

OBSERVED RESULT
File type is listed as "executable"

EXPECTED RESULT
File type is listed as "shared library"

SOFTWARE/OS VERSIONS
Operating System: Gentoo 2.8
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 23.4 GiB of RAM
Graphics Processor: Radeon RX Vega

ADDITIONAL INFORMATION
Using dolphin commit c1200b3
Comment 1 Nicolas Fella 2021-10-30 17:47:38 UTC
Should be fixed with https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/160
Comment 2 Marco Rebhan 2023-12-03 19:24:04 UTC
Fixed in https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/165.

(not sure if RESOLVED FIXED is the correct status for bugs that were actually in an external project but here we go)