Skip to content

fix(imhex): disable CMAKE_SKIP_RPATH to fix plugin loading failure - #4982

Merged
CoelacanthusHex merged 1 commit into
archlinuxcn:masterfrom
KingLou4329:patch-1
Oct 19, 2026
Merged

CoelacanthusHex merged 1 commit into
archlinuxcn:masterfrom
KingLou4329:patch-1

Conversation

@KingLou4329

Copy link
Copy Markdown
Contributor

在原 PKGBUILD 中硬编码开启了 -D CMAKE_SKIP_RPATH=ON,导致打包时剥离了插件的传递性搜索路径,引发链式报错崩溃:
Loading library 'ui.hexpluglib' failed: fonts.hexpluglib: cannot open shared object file: No such file or directory!

参考 AUR 社区讨论(https://aur.archlinux.org/packages/imhex#comment-1085869 ),建议删除 -D CMAKE_SKIP_RPATH=ON 编译选项,允许 CMake 默认启用 RPATH 以便插件正确进行相对寻址。

@CoelacanthusHex
CoelacanthusHex merged commit 013d71c into archlinuxcn:master Oct 19, 2026
1 check passed
@KingLou4329
KingLou4329 deleted the patch-1 branch October 20, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants