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/CAGfLZvqw7vO-4V4fivDOy4mPr4OHjousu-uK1_JGdym3qaRRXA%40mail.gmail.com.

Attachment: templog.log
Description: Binary data

Reply via email to