Protobuf compiler version 3.0.0 doesn't match library version 2.6.1 - Aspera Transfer SDK
Have downloaded Transfer SDK from here:
https://api.ibm.com/explorer/catalog...k/doc/overview Have installed protobuf-2.6.1 from source. Default protobuf that comes with Ubuntu is of higher version. Code:
~$ protoc --version Code:
/aspera/transfer-sdk/linux-amd64/connectors/cpp/build$ cmake .. Code:
$ make What more information should I provide here? Please help. |
Protobuf compiler version 3.0.0 doesn't match library version 2.6.1 - Aspera Transfer SDK
I am attempting to compile the sample programs from this tar ball: https://api.ibm.com/explorer/catalog...k/doc/overview
Code:
$ cmake .. Does this mean I am supposed to download and compile protobuf by source? Currently I installed it through apt-get. I am on Ubuntu 18.04. Code:
~$ which protoc |
Protobuf is in cmake. If there's a protobuf in your download, there could be a version mismatch. With the typical linux 3 figure versions package-x.y.z, in increment in a number means as follows
z+1 = bug fix y+1 = feature addition x+1 = compatability break. So somehow protobuf-2.n.n is being asked to talk to protobuf-3.n.n and they're incompatible. |
I realized that:
Quote:
|
It should be in cmake. If not find out if your (undisclosed) distro installs it se[paraltely. You mat want to check the lib is found by stuff also.
|
I deleted this .so manually, and manually installed version 3.13.1.
That solved this problem. |
All times are GMT -5. The time now is 08:55 AM. |