On Mon, 26 Oct 2026 19:51:23 -0700, Chris M. Thomasson wrote:
> On 10/23/2026 8:39 PM, Lawrence D’Oliveiro wrote:
>>
>> On Fri, 23 Oct 2026 16:58:04 -0700, Chris M. Thomasson wrote:
>>>
>>> Keeping them up to date is, afaict, manual.
>>
>> In the Linux world, we have “development” packages versus “runtime”
>> packages.
>>
>> The development package contains the source includes, pkg-config
>> info etc. The runtime version includes the actual shared library.
>> So your built package has a dependency on the latter; when a user
>> tries to install your package, it should automatically pull in the
>> latter as necessary.
>>
>> Example from my system:
>>
>> lrwxrwxrwx 1 root root 13 Apr 24 2026 /usr/lib/x86_64-linux-gnu/libcairo.so -> libcairo.so.2
>> lrwxrwxrwx 1 root root 21 Apr 24 2026 /usr/lib/x86_64-linux-gnu/libcairo.so.2 -> libcairo.so.2.11804.4
>> -rw-r--r-- 1 root root 1366728 Apr 24 2026 /usr/lib/x86_64-linux-gnu/libcairo.so.2.11804.4
>>
>> Where did these come from?
>>
>> ro…@theon:~ # dpkg-query -S /usr/lib/x86_64-linux-gnu/libcairo.so.2
>> libcairo2:amd64: /usr/lib/x86_64-linux-gnu/libcairo.so.2
>>
>> ro…@theon:~ # dpkg-query -S /usr/lib/x86_64-linux-gnu/libcairo.so
>> libcairo2-dev:amd64: /usr/lib/x86_64-linux-gnu/libcairo.so
>>
>> Notice how the development library is not versioned, but is just a
>> symlink to a versioned library.
>>
>> The runtime library is always versioned. This allows multiple
>> versions of the library to be present at once, with some older
>> packages, that haven’t been rebuilt, still depending on an older
>> version, while up-to-date packages make use of the newer version.
>
> I was in the linux world for a whiel, along with solaris, etc. But
> Windows, oh my. vcpkg is a big turn.
Windows isn’t even in the same league, is it.