Juniper/grpc-c

./builddeps.sh fails :

hale2bopp opened this issue · 1 comments

What operating system (Linux, Windows, …) and version?
MacOS 10.14.5

What did you do?
I cloned the repo using :
$ git clone https://github.com/Juniper/grpc-c.git

I installed required dependencies as described in the gRPC docs.

Then I did
$ cd grpc-c
$ autoreconf --install
$ git submodule update --init
Up till here, everything works fine.

$ ./builddeps.sh

What did you expect to see?
Something beautiful!
I expected to see the grpc-c compile nicely.

What did you see instead?
Here, I get the following error :

11 warnings generated.
CXX protoc-c/protoc_c-main.o
CXXLD protoc-c/protoc-c
libtool: warning: library '/usr/local/lib/libprotobuf.la' was moved.
libtool: warning: library '/usr/local/lib/libprotoc.la' was moved.
libtool: error: cannot find the library '/lib/libprotobuf.la' or unhandled argument '/lib/libprotobuf.la'
make: *** [protoc-c/protoc-c] Error 1

I can see libprotobuf.la in /usr/local/lib, so I don't know why it would be complaining that it moved, or that it can't find it.

Closed - edited third_party/protobuf/src/.libs/libprotoc.lai and where it references /lib/libprotobuf.la I changed it to /usr/local/lib/libprotobuf.la