Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
dlopen dependencies
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Dimitri John Ledkov via curl-distros <curl-distros_at_lists.haxx.se>
Date: Fri, 13 Mar 2026 01:40:26 +0000
Hi,
systemd has moved many optional dependencies from compile-time
decision and linking; to dlopen on the fly with metadata documenting
which libraries it wants.
The spec for metadata is
https://uapi-group.org/specifications/specs/elf_dlopen_metadata/
Article about the changes at https://lwn.net/Articles/1051235/
Example pull request https://github.com/systemd/systemd/pull/31550
I wonder if such a design can be implemented in cURL for the many
dependencies it has. It would enable distributions to build "one
curl", and provide additional metapackages with additional runtime
dependencies to activate additional protocols and algorithms.
This could for example enable distributions to enable HTTP/3 support;
yet keep those dependencies optional; which would be dlopened if
available or explicitly requested. And distributions could use
depends/recommends/suggests (in dpkg terms) to highlight which
dependencies to install to get more or less features with matching
size reduction.
Date: Fri, 13 Mar 2026 01:40:26 +0000
Hi,
systemd has moved many optional dependencies from compile-time
decision and linking; to dlopen on the fly with metadata documenting
which libraries it wants.
The spec for metadata is
https://uapi-group.org/specifications/specs/elf_dlopen_metadata/
Article about the changes at https://lwn.net/Articles/1051235/
Example pull request https://github.com/systemd/systemd/pull/31550
I wonder if such a design can be implemented in cURL for the many
dependencies it has. It would enable distributions to build "one
curl", and provide additional metapackages with additional runtime
dependencies to activate additional protocols and algorithms.
This could for example enable distributions to enable HTTP/3 support;
yet keep those dependencies optional; which would be dlopened if
available or explicitly requested. And distributions could use
depends/recommends/suggests (in dpkg terms) to highlight which
dependencies to install to get more or less features with matching
size reduction.
-- Regards, Dimitri. -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-distros Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2026-03-13