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

Henry Vermaak henry.vermaak at gmail.com
Wed Aug 15 13:42:43 CEST 2012


On 15/08/12 12:37, Mark Morgan Lloyd wrote:
> 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.

I've never found a -dev package that doesn't set up symlinks in many
years of using Debian for development.  (Except if only static versions
of a specific library exists, obviously).  Could you give an example?

Henry



More information about the fpc-pascal mailing list