Creating a self-contained binary

https://www.github.com/profdc9/fldigi

I have a program (fldigi, pointed to by the github link) that uses dozens of shared libraries. I would like to be able to distribute a pre-compiled version of the program for testers. I could require each tester to install the shared libraries and compile the program for themselves, however, this would be extremely difficult for most users. What are some options for distributing a pre-compiled version of a linux program? Do I need to make a package for common distributions or common versions of each distribution? How about snap, nix, or flatpak? I don't have much experience with using docker or preparing docker containers, and the particular program (fldigi) requires access to system hardware to function, which a containerized version would have to accommodate.

This is going to be a temporary solution and I hope once the program is done being tested, my changes can be pulled upstream and then distributions will include it that way.

18 points · 5 comments · view on lemmy.world

5 Comments

SpaceNoodle@lemmy.world · 20 pts · 2y (2 replies)

Just statically link the libraries

profdc9@lemmy.world · 1 pts · 2y (1 reply)

The problem is that I don't have static versions of most of the libraries available.

SpaceNoodle@lemmy.world · 4 pts · 2y

Not with that attitude.

Max_P@lemmy.max-p.me · 12 pts · 2y

Seems like one of the few good use cases for AppImages.

hallettj@leminal.space · 0 pts · 2y

I'd go with Nix, but I may be biased by my enthusiasm for Nix