Linux GUI app static linking: it works! (please test) (update: It does not, back to whiteboard) #319
mirek-fidler
started this conversation in
General
Replies: 5 comments 1 reply
|
Doesn't work on Manjaro: I am not sure if static linking on Linux is the way to go. There is alternatives like Flatpak (you can have your own private repository) or AppImage. It breaks the GPL license. You need to share the code to third parties, of course if you sell it. If it is for own use or within company then static linking is fine. This is one of the causes why umk package for POSIX is source base and doesn't contain any static binary. |
0 replies
|
Test 1 Window flashes. (On up-to-date Arch Linux, Gnome 49) and I got segmentation fault. :/ |
0 replies
|
Test 3 (VM): |
0 replies
|
Ok ok, looks like its more complicated than that. Thanks for testing.
…On Sun, Nov 9, 2025, 2:01 PM İsmail Yılmaz ***@***.***> wrote:
Test 3 (VM):
Fails on KDE Neon 5.25 (somewhat old distro) exactly as on Arch Linux.
—
Reply to this email directly, view it on GitHub
<#319 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARH2353275GCWQ7KAP3PKD3343MLAVCNFSM6AAAAACLSNFPS2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOJRGUZDQMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
To my surprise, after a long while, I have revisited the issue and with Ubuntu LTS I was able to statically link X11 app!
I guess adding Xft.a helped, I believe that one was not around the last time I have tried.
In any case, this is quite huge for me... fixes some sore spots in my work.
If you are interested, here is statically linked UWord for x86_64:
UWord.zip
(Testing on as many distros as possible appreciated).
Known problem: Crashes on close. Will fix in time...
All reactions