https://bugs.kde.org/show_bug.cgi?id=390836
Bug ID: 390836 Summary: Wrong RPATH in apper binary Product: apper Version: 1.0.0 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: dantt...@gmail.com Reporter: aro...@archlinux.org Target Milestone: --- After compiling 1.0.0, the apper binary gets the build-time path of libapper as RPATH, so it fails to run when installed on the system > apper apper: error while loading shared libraries: libapper_private.so: cannot open shared object file: No such file or directory > readelf -d /usr/bin/apper | grep RUNPATH 0x000000000000001d (RUNPATH) Library runpath: [/build/apper/src/build/libapper] Strangely, this only affects the apper binary, all other binaries/libraries have the correct RPATH even though the CMakeLists.txt code is similar: > LANG=C readelf -d /usr/lib/apper-pk-session | grep RUNPATH 0x000000000000001d (RUNPATH) Library runpath: [/usr/lib/apper] Using cmake 3.10.2, and compiling with -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBEXECDIR=lib \ -DAPPSTREAM=ON -- You are receiving this mail because: You are watching all bug changes.