Hey Viral, If you can, it'd be useful to use the latest version of gRPC instead of 1.35. And I tried to read the attached log file but it seems to be truncated. I couldn't find any error messages from it. Would you double-check the file?
Regards, Esun. On Saturday, December 3, 2022 at 10:18:33 AM UTC+9 Viral Shah wrote: > Hello, > > I’m trying to build a GRPC dylib on macOS (v12.2). > > Following instructions here <https://github.com/grpc/grpc> to build for > C++, I can successfully build libgrpc.a. When I try to build a shared > library, I’m hitting below errors. Any help / pointers would be > appreciated. > > Steps: > 1) git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc > 2) cd grpc > 3) git submodule update —init > 4) mkdir -p cmake/build > 5) cd cmake/build > 6) cmake -DgRPC_INSTALL=YES -DgRPC_BUILD_TESTS=OFF \ > -DBUILD_SHARED_LIBS=ON ../.. > 7) make (fails here) > > Also tried to use' FetchContent_Declare' of Cmake mentioned on the > website. It results in the same error. > > Errors: > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[2]: *** [third_party/boringssl-with-bazel/libssl.dylib] Error 1 > make[1]: *** [third_party/boringssl-with-bazel/CMakeFiles/ssl.dir/all] > Error 2 > make: *** [all] Error 2 > > I have attached a partial console log file if it helps. I have tried the > latest GRPC version and also tried the 1.35.0 version. > > > Thank you. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/4e87bc48-d3d0-406c-bd47-0b5f29df2777n%40googlegroups.com.