You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++][CMake] Export config for static libarrow build broken in 23 #48885
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.
Activity
apacheGH-48885: [C++] Add missing curl dependency of `Arrow::arrow_st…
kou commentedon Jan 19, 2026
Oh, this is a regression bug. Workaround is calling
find_package(CURL)beforefind_package(Arrow).Remove Arrow 22 version pin and use CURL workaround for Arrow 23+
Add curl dependency for macOS and vcpkg builds
Remove Arrow 22 version pin and use CURL workaround for Arrow 23+ (#8679
apacheGH-48885: [C++] Add missing curl dependency of `Arrow::arrow_st…
apacheGH-48885: [C++] Add missing curl dependency of `Arrow::arrow_st…
apacheGH-48885: [C++] Add missing curl dependency of `Arrow::arrow_st…
apacheGH-48885: [C++] Add missing curl dependency of `Arrow::arrow_st…
apacheGH-48885: [C++] Add missing curl dependency of `Arrow::arrow_st…
apacheGH-48885: [C++] Add missing curl dependency of `Arrow::arrow_st…
apacheGH-48885: [C++] Add missing curl dependency of `Arrow::arrow_st…
GH-48885: [C++] Add missing curl dependency of `Arrow::arrow_static` …
kou commentedon Jan 23, 2026
Issue resolved by pull request 48891
#48891
GH-48885: [C++] Add missing curl dependency of `Arrow::arrow_static` …
apacheGH-48885: [C++] Add missing curl dependency of `Arrow::arrow_st…