Skip to content

Include headers and static libs in packages and add a way for dbc to expose them programmatically #96

Open

Description

@amoeba

dbc installs drivers as shared libraries on the user's system so they can load those drivers with a driver manager of their choosing. Inspired by the pain that projects like duckdb-rs go through with a library like libduckdb, dbc could help software packagers too, not just analysts.

What if dbc could behave kind of like a pkg-config? While it'd be better for everyone if every ADBC driver had a devel package on every packaging system, this is unlikely to ever happen. So dbc could have something like a dbc info --pkg-config DRIVER subcommand that would print out -I and -L flags. This would require driver packages to include those files of course.

Activity

  1. added
    idea
    on Sep 25, 2025
  2. lidavidm commented on Sep 26, 2025

    @lidavidm
    Member

    dbc could just install the pkg-config file to PKG_CONFIG_PATH or a standard location? (Or put pkg-config files in the installation dir so that you can add them to PKG_CONFIG_PATH?)

  3. zeroshade commented on Oct 13, 2025

    @zeroshade
    Member

    I guess first we'd need to update the packaging to optionally include the .pc files, right?

  4. amoeba commented on Oct 13, 2025

    @amoeba
    MemberAuthor

    Yep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    idea

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions