Creating a self-contained binary

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.

SpaceNoodle,

Just statically link the libraries

profdc9,

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

SpaceNoodle,

Not with that attitude.

hallettj,
@hallettj@leminal.space avatar

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

Max_P,
@Max_P@lemmy.max-p.me avatar

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.world
  • ngwrru68w68
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • kavyap
  • cubers
  • megavids
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines