cutter icon indicating copy to clipboard operation
cutter copied to clipboard

symbol lookup error: cutter: undefined symbol

Open xade93 opened this issue 2 years ago • 3 comments

Environment information

  • Operating System: Arch Linux
  • Cutter version: 2.0.4-1
  • Obtained from:
    • [ ] Built from source
    • [ ] Downloaded release from Cutter website or GitHub
    • [x] Distribution repository

Describe the bug Upon running cutter, it crashes and report "cutter: symbol lookup error: cutter: undefined symbol: _ZN6PySide16fillQtPropertiesEP7_objectPK11QMetaObjectS1_PPKcj"

To Reproduce

  1. install rz-cutter from any source on arch (I tried community/rz-cutter and blackarch/rz-cutter)
  2. run it

Screenshots image

xade93 avatar Mar 20 '22 15:03 xade93

Hello! I had the same issue as you did. The package in the arch repos is out of date and built against older so files. Building from source fixes the issue.

The only problem is that the build will fail, because for some reason include paths are wrong.

So you gotta download the PKGBUILD from the ABS, see the wiki and you need to apply this patch to it.

--- a/repos/community-x86_64/PKGBUILD
+++ b/repos/community-x86_64/PKGBUILD
@@ -34,7 +34,7 @@ prepare() {

 build() {
   cd cutter
-  cmake -B build \
+  CXXFLAGS=-I/usr/include/KF5 cmake -B build \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=None \
     -DCUTTER_ENABLE_PYTHON=ON \

The aur/rz-cutter-git has the same issue, there even the source URLs are messed up.

notxenonbox avatar Mar 23 '22 15:03 notxenonbox

Just ran into the same issue. I has riscv64 stuff to debug :scream:

kallisti5 avatar Mar 24 '22 13:03 kallisti5

I was able to install and run it yesterday. Problem solved?

karliss avatar Jul 24 '22 12:07 karliss

I assume it got fixed by one of the rebuilds which happened after this issue was created either https://github.com/archlinux/svntogit-community/commit/20d8eaa05c6f79172b537627ebd4c5eb38de911a or https://github.com/archlinux/svntogit-community/commit/364ba192ef48f37be70684002f9cabc95ba03406 .

If the problem reappears please create a new issue.

karliss avatar Aug 11 '22 06:08 karliss