Skip to content

[C++] parquet tools: linking error when ARROW_JSON=OFF with undefined reference to `arrow::json::JsonWriter::GetString() const' #50859

Description

@rouault

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

Since c44eca6 ("#50779: [C++][Parquet] Replace remaining RapidJSON usage with simdjson (#50781)"), building with ARROW_JSON=OFF leads to:

[ 96%] Linking CXX executable ../../debug/parquet-dump-arrow-statistics
/usr/bin/ld: ../../debug/libparquetOFF.so.2600.0.0: undefined reference to `arrow::json::JsonWriter::GetString() const'
/usr/bin/ld: ../../debug/libparquetOFF.so.2600.0.0: undefined reference to `arrow::json::JsonWriter::String(std::basic_string_view<char, std::char_traits<char> >)'

CC @Reranko05

Also affects projects linking with libparquet such as GDAL in https://github.com/OSGeo/gdal/actions/runs/31694127460/job/94427940549

Component(s)

C++

Activity

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