On 31/07/2019 09:36, Paavo Helde wrote:
> On 31.07.2019 9:08, Chris M. Thomasson wrote:
>> On 7/30/2019 7:32 AM, Fred Killet wrote:
>>> Yes, 20000 lines of source code with geodetic functions
>>> have their
>>> price. However, WINDOWS programmers have the advantage to
>>> integrate
>>> geodetic functions as a DLL. That is already possible
>>> from 500 euros.
>>> Fred
>>
>> shared object files on Linux should work fine.
>
> It takes some knowledge and experience to prepare a binary
> C++ .so which would work on most Linuxes, especially if it
> is using a lot of third-party libraries. The default model
> in Linux is to use the system-installed C++ runtimes, but
> there have been ABI-breaking changes in those runtimes, so
> one just cannot compile a .so on a random Linux box and hope
> it will work everywhere. Third-party libraries with C++
> interfaces will add many complications, one could either use
> system-installed ones or package them together with your own
> .so, both approaches have serious drawbacks.
in Linux there is an ongoing trend to "seal" some package in
order not to depend on anything external (but the kernel
itself) and to interact as little as possible.
The solutions are various and do not have standards yet
(some are totally open, some seem rather single-firm backed)
the ones I've come across are
* SNAP runtime (Canonical, Ubuntu world and Mint)
* FLATPAKREF packages (who ? dunno =>
flathub.org)
* APPIMAGE (open : this does not even add a repo or install
anything at all, there is a single huge executable
containing all it will need)
* other I still don't know
If one really wants to target linux world and is a skilled
programmer, maybe today does not have to target each distro
one by one, but to try install-less solution as above.
I find the most handy and practical solutions are AppImage,
expecially if a centralized update service is not required
for safety reasons (AppImages are "STILL" never handled
centrally, but a heavy user could always keep up-to-date by
themselves in need)
>
> In short, the easiest way to install custom software (not
> included in package manager repos) in Linux is to build it
> directly on the target box.
>
>
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
Soviet_Mario - (aka Gatto_Vizzato)