build hx with static libraries
Any chance to build hx as a standalone binary with static libraries? For example, with this app where the .so files are not co-signed, someone needs to allow each and every .so file the first time the .so is accessed.
I like the idea, although that would mean we're adding about 150 MiB (IIRC) to the hx binary. I'll have to check the feasibility though; no doubt we'd have to d ig into the loading of the grammars and change something there.
I second this. I'm running evil-helix on a Ubuntu 22.04.5 machine, and the latest version fails with the following error:
/home/user/helix/./hx: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /home/user/helix/./hx)
I have the same issue in Pop!_OS that is based on Ubuntu 22.04.
hx: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by hx)
Just to give a small update: I'm leaning a lot towards distributing evil-helix as an AppImage (in addition to the other options of course). This would avoid the side effects of a monolithic binary, but it should solve issues people have with incompatible glibc versions.
See also this issue which describes the same problem: #119
If no PR is submitted, I'll seek to do it myself. Either way, thank you all for your patience.