Spectacle not working after update

I updated my system earlier today and now Spectacle doesn’t work, pressing meta+shift+S gives me a popup saying: “could not activate remote peer ‘org.kde.spectacle’: startup job failed” and trying to open it through the terminal returns: spectacle: error while loading shared libraries: libx265.so.215: cannot open shared object file: No such file or directory

I tried reinstalling the x265 package, but that did nothing

inxi: https://dpaste.com/2SNBUS3EV#

The latest x265 provides: libx265.so=216 so something is “out of sync”.

Could you refresh your mirrors, run sudo pacman -Syyu and post the whole output?

How would I go about posting the whole output, just copy/paste?

Yes.

Highlight the text you paste and click on </> to format.

The file libx265.so belongs to the package x265. The file libx265.so resides in the directory /usr/lib/libx265.so. Please see the screenshot given below for more details.

Please check if you have x265 package installed. If not please install it.

Screenshot showing the onwership of the file libx265.so.

Recently there were some changes made into Spectacle, which allowed for extraction of text from screenshots. This introduced a bunch of dependencies that were not there previously. Maybe in one of your updates those dependencies were missed out.

It definitely looks like I have it at least and reinstalling them was the first step I took to try and fix it. (should probably have mentioned that in the original post huh..)

Spectacle complains about libx265.so.215 though, which points to spectacle being out of date. As was already suggested update mirrors and try a full system update.

done that about 3 times now so from sudo pacman -Syyu I just get:

:: Synchronizing package databases.::
endeavouros 14,6 KiB 2,26 KiB/s 00:06 [----------------------------------------------------------] 100%
core 126,3 KiB 20,4 KiB/s 00:06 [----------------------------------------------------------] 100%
extra 8,3 MiB 165 KiB/s 00:51 [----------------------------------------------------------] 100%
multilib 127,5 KiB 16,9 KiB/s 00:08 [----------------------------------------------------------] 100%
:: Starting full system upgrade...
there is nothing to do

also here’s the mirror list from reflector:

################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

With:       reflector --verbose -c EE --protocol https --protocol http --sort age --latest 20 --download-timeout 5

When:       2026-06-26 09:58:10 UTC

From:       https://archlinux.org/mirrors/status/json/

Retrieved:  2026-06-26 09:58:04 UTC

Last Check: 2026-06-26 09:15:44 UTC

Estonia

Server = http://repo.br.ee/arch/$repo/os/$arch

Estonia

Server = https://repo.br.ee/arch/$repo/os/$arch

Estonia

Server = http://mirrors.xtom.ee/archlinux/$repo/os/$arch

Estonia

Server = https://mirrors.xtom.ee/archlinux/$repo/os/$arch

Estonia

Server = http://mirror.cspacehostings.com/archlinux/$repo/os/$arch

Estonia

Server = https://mirror.cspacehostings.com/archlinux/$repo/os/$arch

Worldwide

Server = https://fastly.mirror.pkgbuild.com/$repo/os/$arch
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
Server = https://ftpmirror.infania.net/mirror/archlinux/$repo/os/$arch
Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch
Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch

Let’s check what’s available and installed:

  • pacman -Si spectacle
  • pacman -Qi spectacle
  • ldd /usr/bin/spectacle | grep libx265

running pacman -Si spectacle gives me:

Repository :extra
Name :spectacle
Version :1:6.7.1-1
Description :KDE screenshot capture utility
Architecture :x86_64
URL :https://kde.org/plasma-desktop/
Licenses :GPL-2.0-or-later
Groups :plasma
Provides :None
Depends On :glibc kconfig kconfigwidgets kcoreaddons kcrash kdbusaddons kglobalaccel kguiaddons ki18n kio kirigami kjobwidgets knotifications
kpipewire kquickimageeditor kservice kstatusnotifieritem kwidgetsaddons kwindowsystem kxmlgui layer-shell-qt libgcc libstdc++ libxcb
opencv prison purpose qt6-base qt6-declarative qt6-imageformats qt6-multimedia tesseract wayland xcb-util xcb-util-cursor
xcb-util-image
Optional Deps :None
Conflicts With :None
Replaces :None
Download Size :2,08 MiB
Installed Size :6,15 MiB
Packager :Tomaz Canabrava <``tcanabrava@archlinux.org``>
Build Date :T 23 juuni 2026 17:52:34
Validated By : SHA-256 Sum Signature

running pacman -Qi spectacle gives me:

Name            : spectacle
Version         : 1:6.7.1-1
Description     : KDE screenshot capture utility
Architecture    : x86_64
URL             : https://kde.org/plasma-desktop/
Licenses        : GPL-2.0-or-later
Groups          : plasma
Provides        : None
Depends On      : glibc  kconfig  kconfigwidgets  kcoreaddons  kcrash  kdbusaddons  kglobalaccel  kguiaddons  ki18n  kio  kirigami  kjobwidgets  knotifications
                  kpipewire  kquickimageeditor  kservice  kstatusnotifieritem  kwidgetsaddons  kwindowsystem  kxmlgui  layer-shell-qt  libgcc  libstdc++  libxcb
                  opencv  prison  purpose  qt6-base  qt6-declarative  qt6-imageformats  qt6-multimedia  tesseract  wayland  xcb-util  xcb-util-cursor
                  xcb-util-image
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 6,15 MiB
Packager        : Tomaz Canabrava <tcanabrava@archlinux.org>
Build Date      : T 23 juuni 2026 17:52:34
Install Date    : R 26 juuni 2026 00:28:12
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

and ldd /usr/bin/spectacle | grep libx265 returns:

libx265.so.215 => not found

Mhm, package looks OK. Here it points to the correct version:

ldd /usr/bin/spectacle | grep libx265
        libx265.so.216 => /usr/lib/libx265.so.216 (0x00007f41cc000000)

Have you tried to reinstall spectacle?

The first question asked at every support desk:

Have you tried to reboot your system?

I reboot almost every time I run sudo pacman -Syu even if nothing gets updated (reflex still left over from running Windows :sweat_smile: )

reinstalled spectacle, restarted the PC, still doesn’t work

Unfortunately I’m out of ideas at the moment.

Spectacle still seems to be looking for the outdated package for some reason, but idk how to point it to the correct one, ldd /usr/bin/spectacle | grep libx265 gives me libx265.so.215 => not found is there a way I can manually point it to the 216 version of the file?

Repeating won’t hurt:

sudo pacman -Syyuu && sudo pacman -S spectacle x265

Then:

sudo ldconfig

See if that helps.

did both, restarted, still the same issue, it’s still looking for libx265.so.215 I’m starting to think it just dislikes my machine :sweat_smile:

Could you post: ldd /usr/bin/spectacle | grep "not found" and pacman -Qo /usr/bin/spectacle ?

ldd /usr/bin/spectacle | grep "not found" gives:

libx265.so.215 => not found

pacman -Qo /usr/bin/spectacle gives:

/usr/bin/spectacle is owned by spectacle 1:6.7.1-1