【发布时间】:2018-05-22 01:02:07
【问题描述】:
我正在尝试运行一个为 Ubuntu 制作并适用于 Mac OS 的项目。当我在做 make 时,我得到了以下错误:
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [consumer] Error 1
make[1]: *** [CMakeFiles/consumer.dir/all] Error 2
make: *** [all] Error 2
我在整个项目中看不到任何具有该名称的库。
谁能解释它是什么以及如何解决它?
【问题讨论】:
标签: c++ macos makefile apache-kafka