Skip to content

fix: repair shared package linkage and export scan builder symbols#635

Open
zhjwpku wants to merge 1 commit intoapache:mainfrom
zhjwpku:fix/shared-linkage-exports
Open

fix: repair shared package linkage and export scan builder symbols#635
zhjwpku wants to merge 1 commit intoapache:mainfrom
zhjwpku:fix/shared-linkage-exports

Conversation

@zhjwpku
Copy link
Copy Markdown
Collaborator

@zhjwpku zhjwpku commented May 2, 2026

  1. Update the shared installation interface to depend on the static nanoarrow target, since vendored libraries are built only as static artifacts(see prepare_fetchcontent).

  2. Switch the example build to use shared libraries to surface linkage issues. This revealed that TableScanBuilder symbols are not exported. Explicitly export the TableScanBuilder template instantiations so that shared-library consumers can successfully link against Build().

1. Update the shared installation interface to depend on the
   static nanoarrow target, since vendored libraries are built
   only as static artifacts(see prepare_fetchcontent).

2. Switch the example build to use shared libraries to surface
   linkage issues. This revealed that `TableScanBuilder` symbols
   are not exported. Explicitly export the `TableScanBuilder`
   template instantiations so that shared-library consumers can
   successfully link against `Build()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant