[fpc-pascal] linux: should we hard-code versioned or unversioned shared libraries in our apps?

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Wed Aug 15 13:37:09 CEST 2012

Jonas Maebe wrote:

>> In both these cases, I manually created unversioned symlinks to those
>> libraries, and that got my applications working again. This is not
>> ideal, but I don't know how else to handle this.
> The official way to get the unversioned symbolic links is to install the -dev or -devel package for that library. Of course, you're not supposed to require end-users to do that.

Does not always work, e.g. in the case of Debian. -dev will install the 
.h and .a files, but won't necessarily set up unversioned symlinks.

Anybody: what's the position with Ubuntu, as the leading Debian derivative?

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-pascal mailing list