【发布时间】:2021-03-08 09:59:56
【问题描述】:
Mac Book Air(M1)
操作系统:macOS BigSur(11.2)
Rails 版本:5.2.3
红宝石版本:2.5.3p105
捆绑列表:
- google-protobuf (3.15.5)
- googleapis-common-protos-types (1.0.6)
- grpc (1.36.0)
$ rails c
dyld: lazy symbol binding failed: Symbol not found: _grpc_set_ssl_roots_override_callback
Referenced from: /Users/[hostname]/.rvm/gems/ruby-2.5.3@square_rpc/gems/grpc-1.36.0/src/ruby/lib/grpc/grpc_c.bundle
Expected in: flat namespace
dyld: Symbol not found: _grpc_set_ssl_roots_override_callback
Referenced from: /Users/[hostname]/.rvm/gems/ruby-2.5.3@square_rpc/gems/grpc-1.36.0/src/ruby/lib/grpc/grpc_c.bundle
Expected in: flat namespace
我已经运行bundle pristine。
所以我认为我应该使用支持 M1 的正确版本,如文档所述。
有人知道如何解决这个问题吗?
谢谢。
【问题讨论】:
-
可能不多,但似乎这是一个持续存在的问题github.com/grpc/grpc/issues/24846
-
跟进。你找到解决办法了吗?
标签: ruby-on-rails ruby grpc apple-m1