Article View: comp.lang.c++
Article #302Re: “The end of software secrecy is almost upon us”
From: Lawrence D’Oliveiro
Date: Sat, 24 Oct 2026 03:39
Date: Sat, 24 Oct 2026 03:39
48 lines
4010 bytes
4010 bytes
On Fri, 23 Oct 2026 16:58:04 -0700, Chris M. Thomasson wrote:
> On 10/23/2026 3:46 PM, Lawrence D’Oliveiro wrote:
>>
>> On Fri, 23 Oct 2026 12:55:02 -0700, Chris M. Thomasson wrote:
>>
>>> Fwiw, vcpkg has a lot of them, ready to automatically build and
>>> integrate. vcpkg is actually... Well, its pretty nice and so
>>> far... Seems to work for me.
>>
>> How does it work for end-users? Are your dependencies automatically
>> brought in when they install your package? How are they kept
>> up-to-date?
>
> Oh yeah. In your build directory, say Debug or Release, it has all
> of the built shared libs and everything you need to run it.
>
> 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?
root@theon:~ # dpkg-query -S /usr/lib/x86_64-linux-gnu/libcairo.so.2
libcairo2:amd64: /usr/lib/x86_64-linux-gnu/libcairo.so.2
root@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.
Technical Details
Message-ID:
<11bh98q$2coe1$2@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me> <11b87jg$37b7t$1@dont-email.me> <11b884b$p2o9$1@dont-email.me> <11b8d6i$39gd9$1@dont-email.me> <11b9qna$pqb8$1@dont-email.me> <11bandf$1042$4@dont-email.me> <11baun8$29v7a$1@dont-email.me> <11bb04l$68pg$1@dont-email.me> <11bb1da$qfn9$1@dont-email.me> <U_dCS.1573$QEE1.290@fx18.ams4> <11bdsdc$16vo8$2@dont-email.me> <11bejsc$1eab6$2@dont-email.me> <11bf9m8$1jkb5$5@dont-email.me> <11bge2q$24do0$1@dont-email.me> <11bgo3o$27pn2$4@dont-email.me> <11bgsad$299in$2@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers Subject: Re: “The end of software secrecy is almost upon us” Date: Sat, 24 Oct 2026 03:39:07 -0000 (UTC) Organization: A noiseless patient Spider Lines: 48 Message-ID: <11bh98q$2coe1$2@dont-email.me> References: <11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me> <11b87jg$37b7t$1@dont-email.me> <11b884b$p2o9$1@dont-email.me> <11b8d6i$39gd9$1@dont-email.me> <11b9qna$pqb8$1@dont-email.me> <11bandf$1042$4@dont-email.me> <11baun8$29v7a$1@dont-email.me> <11bb04l$68pg$1@dont-email.me> <11bb1da$qfn9$1@dont-email.me> <U_dCS.1573$QEE1.290@fx18.ams4> <11bdsdc$16vo8$2@dont-email.me> <11bejsc$1eab6$2@dont-email.me> <11bf9m8$1jkb5$5@dont-email.me> <11bge2q$24do0$1@dont-email.me> <11bgo3o$27pn2$4@dont-email.me> <11bgsad$299in$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 24 Oct 2026 03:39:07 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2515393"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++SiR5okLnCanPau3SQOqB"; posting-host="2f0c6f23b3422283e8fcbe6e904c474e" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:HHMkHt3jblzjgBolWVLH9zuAOTE= sha256:81uuNAUztcPTFIlgVbzKuMrZIoVOe7/s8aUeu7M9uIs= sha1:ZIOUwM3PRtv8vGhlBKamK/NO/Ho= sha256:68hNirQcXCLDgtzg68vRKYd3VgUQSTDEGsk0sTynN1U=