dyld:懒惰的符号绑定失败:找不到符号:_grpc_set_ssl_roots_override_callback

时间:2021-03-08 09:59:56

标签: ruby-on-rails ruby grpc apple-m1

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 的正确版本作为文档说。

有人知道怎么解决这个问题吗?
谢谢。

0 个答案:

没有答案
相关问题