You are not logged in.
I couldn't compile my own c++ code that uses protobuf. I looked for a minmal example;
https://github.com/shaochuan/cmake-prot … ree/master
Removing the SET(CMAKE... line in CmakeLists.txt (as c++ version is too old), gives the following error
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libabsl_log_internal_check_op.so.2407.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
It seems to be some linking error, by I can not figure out what the issue might be. Running this code on a Linuxmint VM works without any issue.
Last edited by palatable (2025-02-19 18:16:47)
Offline
Nvm, it was the protobuf version. 4+ gives some interesting linking error. I simply reverted back to v3.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline