In this repo: https://github.com/fastgrin/croaring-rs.git
I can build it successfully both in mac and Ubuntu 17.10 x86_64. In macos, I can build app which is linking this lib w/o any problem, but in Linux, I got a lot of
undefined reference error on linking:
undefined reference to `_roaring_bitmap_of_ptr' undefined reference to `_roaring_bitmap_create' undefined reference to `_roaring_bitmap_or_inplace' ...
And the lib is indeed there:
$ find ./ -name libcroaring* ./target/release/deps/libcroaring_sys-1bab9a72e22a0f17.rlib ./target/release/deps/libcroaring-56b5c0404dea2a0f.rlib
Could somebody help to give a hint? What’s the possible reason for the problem in Linux?
I try to dump the exported function list from rlib file to check, but seems
nm command doesn’t work on rust lib