# Linking KDE libs

**URL:** <https://discuss.kde.org/t/linking-kde-libs/30304>\
**Category:** Help\
**Tags:** development\
**Created:** [February 18, 2025, 1:21pm UTC](https://discuss.kde.org/t/linking-kde-libs/30304 "2025-02-18T13:21:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![romeu](https://discuss.kde.org/user_avatar/discuss.kde.org/romeu/32/18650_2.png) [@romeu](https://discuss.kde.org/u/romeu)\
**Post date:** [February 18, 2025, 1:21pm UTC](https://discuss.kde.org/t/linking-kde-libs/30304/1 "2025-02-18T13:21:47Z")

</div>

Hi, I’m trying to compile the Spectacle util from a cloned repo, but when i execute `make` it displays

```auto
/usr/bin/ld: cannot find /usr/lib/libKF6PurposeWidgets.so.6.10.0: No such file or directory
/usr/bin/ld: cannot find /usr/lib/libKF6DBusAddons.so.6.10.0: No such file or directory
/usr/bin/ld: cannot find /usr/lib/libKF6KIOWidgets.so.6.10.0: No such file or directory
/usr/bin/ld: cannot find /usr/lib/libKF6XmlGui.so.6.10.0: No such file or directory
/usr/bin/ld: cannot find /usr/lib/libKirigamiPlatform.so.6.10.0: No such file or directory
...

```

I use arch (btw) and tried installing the packages with pacman -S kxmlgui (for exemple) but the .so file is still missing.

---

<div class="post-metadata">

**Author:** ![meven](https://discuss.kde.org/user_avatar/discuss.kde.org/meven/32/1748_2.png) [@meven](https://discuss.kde.org/u/meven)\
**Post date:** [February 18, 2025, 1:42pm UTC](https://discuss.kde.org/t/linking-kde-libs/30304/2 "2025-02-18T13:42:17Z")

</div>

> Hi, I’m trying to compile the Spectacle util from a cloned repo, but when i execute `make` it displays

You probably have the 6.11 versions installed.  
Check your cmake command, you might want to remove the CMakeCache.txt file and start again.

---

<div class="post-metadata">

**Author:** ![romeu](https://discuss.kde.org/user_avatar/discuss.kde.org/romeu/32/18650_2.png) [@romeu](https://discuss.kde.org/u/romeu)\
**Post date:** [February 18, 2025, 10:22pm UTC](https://discuss.kde.org/t/linking-kde-libs/30304/3 "2025-02-18T22:22:26Z")

</div>

Holy that was accurate, I had updated some other libs after building it to get the code working, and I didn’t even think of the Cache referencing the old files. Thanks!
