Ensure plugins are dynamically loadable - #582
Conversation
|
I hit this issue trying to run gitit binaries on CachyOS with plugins. Can this be safely merged without causing any unexpected problems? On CachyOS, you can do pacman -S gititand just run prebuilt binaries. However, when trying to run with a plugin, you get this That is because all Haskell packages on Arch/CachyOS are installed as dynamic only https://wiki.archlinux.org/title/Haskell |
|
I really have no idea. Gitit is only semi-maintained at this point, and it has been over a decade since I've looked at plugins. I would suggest trying to integrate the change and compiling from source, and let us know if it solves your problem. |
|
A decade ago, I wrote this PR to solve dynamic plugins for gitit, and it solved it for me; otherwise, I wouldn’t have made the PR. The patch was/is non-destructive but does force dynamic-too, which I believe is reasonable for a program like gitit :) |
This blog post describes how/why I ended up writing this PR.