[fpc-pascal] Defining sonames?

Marco van de Voort marcov at stack.nl
Thu Aug 17 23:17:05 CEST 2017


In our previous episode, Martin Schreiber said:
> > nevertheless be failures if the applications
> > is programmed against the interface of the older v1 library (maybe they
> > changed the memory management for v2 and the problem will only manifest at
> > runtime).
> >
> Exactly. So why not use the SONAME in the Pascal binding unit instead to use 
> the base name as Free Pascal currently does in xlib.pp for example?

Because it is is not packaged with and meant only to work with only one .so
name. Changing it will only mean a lot of adminstration, and still breakage
if some distribution halfway through the release cycle starts packaging a
new version.



More information about the fpc-pascal mailing list