You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note that everything is "static", except zlib, which is "shared"
Logs
build fails because "Library not loaded: @rpath/libz.1.dylib":
Click to expand log
[ 98%] Built target grpc++
[ 98%] Running gRPC C++ protocol buffer compiler for src/proto/grpc/reflection/v1alpha/reflection.proto
[ 98%] Running gRPC C++ protocol buffer compiler for src/proto/grpc/channelz/channelz.proto
[ 98%] Running gRPC C++ protocol buffer compiler for src/proto/grpc/reflection/v1/reflection.proto
dyld[20432]: Library not loaded: @rpath/libz.1.dylib
Referenced from: <501713BD-52EA-345D-AC93-438A22A25D80> /Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/protoc-27.0.0
Reason: tried: '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/lib/libz.1.dylib' (no such file), '/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file)
dyld[20433]: Library not loaded: @rpath/libz.1.dylib
Referenced from: <501713BD-52EA-345D-AC93-438A22A25D80> /Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/protoc-27.0.0
Reason: tried: '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/lib/libz.1.dylib' (no such file), '/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file)
dyld[20431]: Library not loaded: @rpath/libz.1.dylib
Referenced from: <501713BD-52EA-345D-AC93-438A22A25D80> /Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/protoc-27.0.0
Reason: tried: '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/lib/libz.1.dylib' (no such file), '/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file)
Subprocess aborted
Subprocess aborted
Subprocess aborted
make[2]: *** [gens/src/proto/grpc/reflection/v1/reflection.grpc.pb.cc] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [gens/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc] Error 1
make[2]: *** [gens/src/proto/grpc/channelz/channelz.grpc.pb.cc] Error 1
make[1]: *** [CMakeFiles/grpc++_reflection.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/grpcpp_channelz.dir/all] Error 2
The text was updated successfully, but these errors were encountered:
Description
I try to build it in a slightly non-standard environment. So, maybe I do something wrong...
Package and Environment Details
Conan profile
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=16
os=Macos
[options]
[conf]
[build_requires]
[env]
Steps to reproduce
note that everything is "static", except zlib, which is "shared"
Logs
build fails because "Library not loaded: @rpath/libz.1.dylib":
Click to expand log
[ 98%] Built target grpc++ [ 98%] Running gRPC C++ protocol buffer compiler for src/proto/grpc/reflection/v1alpha/reflection.proto [ 98%] Running gRPC C++ protocol buffer compiler for src/proto/grpc/channelz/channelz.proto [ 98%] Running gRPC C++ protocol buffer compiler for src/proto/grpc/reflection/v1/reflection.proto dyld[20432]: Library not loaded: @rpath/libz.1.dylib Referenced from: <501713BD-52EA-345D-AC93-438A22A25D80> /Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/protoc-27.0.0 Reason: tried: '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/lib/libz.1.dylib' (no such file), '/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file) dyld[20433]: Library not loaded: @rpath/libz.1.dylib Referenced from: <501713BD-52EA-345D-AC93-438A22A25D80> /Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/protoc-27.0.0 Reason: tried: '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/lib/libz.1.dylib' (no such file), '/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file) dyld[20431]: Library not loaded: @rpath/libz.1.dylib Referenced from: <501713BD-52EA-345D-AC93-438A22A25D80> /Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/protoc-27.0.0 Reason: tried: '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/lib/libz.1.dylib' (no such file), '/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file), '/Users/gouriano/Conan/.conan2/p/b/proto8de98cfb82152/p/bin/../lib/libz.1.dylib' (no such file) Subprocess aborted Subprocess aborted Subprocess aborted make[2]: *** [gens/src/proto/grpc/reflection/v1/reflection.grpc.pb.cc] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [gens/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc] Error 1 make[2]: *** [gens/src/proto/grpc/channelz/channelz.grpc.pb.cc] Error 1 make[1]: *** [CMakeFiles/grpc++_reflection.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/grpcpp_channelz.dir/all] Error 2The text was updated successfully, but these errors were encountered: