Skip to content

[C++][CMake] Export config for static libarrow build broken in 23 #48885

Closed

Description

@jpfeuffer

Describe the bug, including details regarding any error messages, version, and platform.

Our CI updated to 23 today and fails.
We are building static libarrow on Ubuntu using your apt.
It fails with:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Arrow/ArrowTargets.cmake:80 (set_target_properties):
  The link interface of target "Arrow::arrow_static" contains:

    CURL::libcurl

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

My initial guess: You probably stopped bundling/static linking to curl.
But then you probably need to add a find_dependency call for it in your cmake export config.
And add curl as an apt dependency.

Maybe also an upstream issue if you get the curl dependency e.g. from AWS sdk.

Component(s)

C++

Activity

  1. added a commit that references this issue on Jan 19, 2026
  2. kou commented on Jan 19, 2026

    @kou
    Member

    Oh, this is a regression bug. Workaround is calling find_package(CURL) before find_package(Arrow).

  3. added 8 commits that reference this issue on Jan 20, 2026
  4. added this to the 24.0.0 milestone on Jan 23, 2026
  5. kou commented on Jan 23, 2026

    @kou
    Member

    Issue resolved by pull request 48891
    #48891

  6. modified the milestones: 24.0.0, 23.0.1 on Feb 3, 2026
  7. added a commit that references this issue on Feb 3, 2026
  8. added a commit that references this issue on May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions