BewareMyPower opened a new issue, #512:
URL: https://github.com/apache/pulsar-client-cpp/issues/512

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/pulsar-client-cpp/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](https://github.com/apache/pulsar-client-cpp/wiki/Verify-the-candidate-release#macos-users)
 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](https://github.com/apache/pulsar-client-cpp/blob/386dedc47bde8c46fae1705afdf66e4b972c7447/vcpkg.json#L47)
 is not included in the `*.a` file.
   
   This dependency was introduced since 
https://github.com/apache/pulsar-client-cpp/pull/497, so it's a regression
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to