Skip to content

[Bug] libpulsarwithdeps.a misses some symbols on Linux or macOS #512

Description

@BewareMyPower

Search before asking

  • I searched in the issues and found nothing similar.

Version

https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-cpp/pulsar-client-cpp-3.8.0-candidate-2/

Minimal reproduce step

Download the macos-arm64.zip and follow the guide here to verify it.

What did you expect to see?

The application run successfully

What did you see instead?

% clang++ main.cc ./lib/libpulsarwithdeps.a -std=c++11 -I./include
Undefined symbols for architecture arm64:
  "_bitset_resize", referenced from:
      _roaring_bitmap_to_bitset in libpulsarwithdeps.a[1287](roaring.c.o)
      _roaring_bitmap_to_bitset in libpulsarwithdeps.a[1287](roaring.c.o)
ld: symbol(s) not found for architecture arm64

Anything else?

This should be caused by the static library of roaring is not included in the *.a file.

This dependency was introduced since #497, so it's a regression

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions