Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]:tests target got link error when building with arrow 12.0.0 or greater #163

Closed
1 task done
acezen opened this issue May 18, 2023 · 0 comments · Fixed by #164
Closed
1 task done

[Bug]:tests target got link error when building with arrow 12.0.0 or greater #163

acezen opened this issue May 18, 2023 · 0 comments · Fixed by #164
Assignees
Labels
bug Something isn't working

Comments

@acezen
Copy link
Contributor

acezen commented May 18, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

linking libgar got error:

/usr/bin/ld: /workspaces/GraphScope/v6d/build/shared-lib/libgar.so: undefined reference to `arrow::acero::ExecPlan::finished()'
/usr/bin/ld: /workspaces/GraphScope/v6d/build/shared-lib/libgar.so: undefined reference to `arrow::acero::ExecPlan::StopProducing()'
/usr/bin/ld: /workspaces/GraphScope/v6d/build/shared-lib/libgar.so: undefined reference to `arrow::acero::MakeGeneratorReader(std::shared_ptr<arrow::Schema>, std::function<arrow::Future<std::optional<arrow::compute::ExecBatch> > ()>, arrow::MemoryPool*)'
/usr/bin/ld: /workspaces/GraphScope/v6d/build/shared-lib/libgar.so: undefined reference to `arrow::acero::ExecPlan::StartProducing()'
/usr/bin/ld: /workspaces/GraphScope/v6d/build/shared-lib/libgar.so: undefined reference to `arrow::acero::ExecPlan::Make(arrow::compute::ExecContext*, std::shared_ptr<arrow::KeyValueMetadata const>)'
/usr/bin/ld: /workspaces/GraphScope/v6d/build/shared-lib/libgar.so: undefined reference to `arrow::acero::ExecPlan::Validate()'
/usr/bin/ld: /workspaces/GraphScope/v6d/build/shared-lib/libgar.so: undefined reference to `arrow::acero::default_exec_factory_registry()'
collect2: error: ld returned 1 exit status
make[2]: *** [modules/graph/CMakeFiles/vineyard-graph-loader.dir/build.make:155: bin/vineyard-graph-loader] Error 1
make[1]: *** [CMakeFiles/Makefile2:1349: modules/graph/CMakeFiles/vineyard-graph-loader.dir/all] Error 2

Expected Behavior

got no error

Minimal Reproducible Example

install arrow 12.0.0 and building GraphAr cpp with test

Environment

  • Operating system: ubuntu22.04
  • GraphAr version: v0.5.0

Link to GraphAr Logs

No response

Further Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant