rizsotto / Bear

Bear is a tool that generates a compilation database for clang tooling.
GNU General Public License v3.0
4.64k stars 306 forks source link

Linking executable wrapper error #548

Closed voki-cherniavskyi-p closed 2 months ago

voki-cherniavskyi-p commented 9 months ago

Describe the bug Linking executable wrapper error on make all stage.

To Reproduce Clone repo, configure cmake, run make all.

Expected behavior make all command successfully finished

Environment:

Additional context Linking CXX executable wrapper Undefined symbols for architecture arm64: "_CFRelease", referenced from: absl::lts_20220623::time_internal::cctz::local_time_zone() in libabsl_time_zone.a(time_zone_lookup.cc.o) "_CFStringGetCString", referenced from: absl::lts_20220623::time_internal::cctz::local_time_zone() in libabsl_time_zone.a(time_zone_lookup.cc.o) "_CFStringGetLength", referenced from: absl::lts_20220623::time_internal::cctz::local_time_zone() in libabsl_time_zone.a(time_zone_lookup.cc.o) "_CFStringGetMaximumSizeForEncoding", referenced from: absl::lts_20220623::time_internal::cctz::local_time_zone() in libabsl_time_zone.a(time_zone_lookup.cc.o) "_CFTimeZoneCopyDefault", referenced from: absl::lts_20220623::time_internal::cctz::local_time_zone() in libabsl_time_zone.a(time_zone_lookup.cc.o) "_CFTimeZoneGetName", referenced from: absl::lts_20220623::time_internal::cctz::local_time_zone() in libabsl_time_zone.a(time_zone_lookup.cc.o) "_res_9_getservers", referenced from: _ares_init_options in libcares.a(ares_init.c.o) "_res_9_ndestroy", referenced from: _ares_init_options in libcares.a(ares_init.c.o) "_res_9_ninit", referenced from: _ares_init_options in libcares.a(ares_init.c.o) ld: symbol(s) not found for architecture arm64

rizsotto commented 9 months ago

Hey @voki-cherniavskyi-p , could you tell how did you install the dependencies? And what are the version of those? (The dependencies are listed here.)

rizsotto commented 2 months ago

Closing it, because lack of input.