【发布时间】:2013-04-11 06:59:51
【问题描述】:
/usr/bin/ld: cannot find -lprotobuf-c
collect2: ld returned 1 exit status
make: *** [test_apl] Error 1
这些是我遇到的错误。
我已经安装了apt-get install protobuf-c-compiler,但是makefile仍然没有运行。
【问题讨论】:
-
你想安装
libprotobuf-c0,来获取这个库。apt-cache search protobuf在这种情况下会有所帮助,暗示Protocol Buffers C library
标签: c linux ubuntu compiler-construction makefile