简体   繁体   English

dyld:延迟符号绑定失败:找不到符号:GDBM gem 的 __gdbm_lock_file 错误

[英]dyld: lazy symbol binding failed: Symbol not found: __gdbm_lock_file error with GDBM gem

I'm getting this odd error when I try to use the Ruby GDBM gem .当我尝试使用Ruby GDBM gem时,我遇到了这个奇怪的错误。 The gem used to work.宝石曾经起作用。 Now when I invoke it I get this error (across many different versions of ruby):现在,当我调用它时,出现此错误(在许多不同版本的 ruby​​ 中):

dyld: lazy symbol binding failed: Symbol not found: __gdbm_lock_file
  Referenced from: /usr/local/lib/libgdbm.dylib
  Expected in: flat namespace

dyld: Symbol not found: __gdbm_lock_file
  Referenced from: /usr/local/lib/libgdbm.dylib
  Expected in: flat namespace

I've tried numerous ruby versions, executing directly from Rbenv and even installing/uninstalling my brew GDBM installation.我已经尝试了许多 ruby​​ 版本,直接从 Rbenv 执行,甚至安装/卸载我的 brew GDBM 安装。 My GDBM Brew installation is at /usr/local/Cellar/gdbm/1.12 GDBM works when I invoke it manually from the command line (eg gdbm_load ).我的 GDBM Brew 安装在/usr/local/Cellar/gdbm/1.12当我从命令行(例如gdbm_load )手动调用它时,GDBM 工作。

The only thing I can think has changed is that I'm now running on OSX El Capitan 10.11.6.我能想到的唯一改变是我现在在 OSX El Capitan 10.11.6 上运行。 Or that I somehow made a change to my config or PATH files that could have caused this error.或者我以某种方式对可能导致此错误的配置或 PATH 文件进行了更改。

How can I go about resolving this?我该如何解决这个问题?

The GDBM ruby gem's maintainer has confirmed it's an issue with either HomeBrew or GDBM itself. GDBM ruby​​ gem 的维护者已经确认这是 HomeBrew 或 GDBM 本身的问题。

Manually installing GDBM without using HomeBrew, or installing it with:不使用 HomeBrew 手动安装 GDBM,或使用以下命令安装:

brew install gdbm --build-from-source

can fix the problem.可以解决问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Datamapper do_postgres gem错误:“ dyld:惰性符号绑定失败:找不到符号:_PQsetdbLogin” - Datamapper do_postgres gem error: “dyld: lazy symbol binding failed: Symbol not found: _PQsetdbLogin” dyld:懒符号绑定失败:未找到符号:_clock_gettime - dyld: lazy symbol binding failed: Symbol not found: _clock_gettime dyld:惰性符号绑定失败:找不到符号:_grpc_set_ssl_roots_override_callback - dyld: lazy symbol binding failed: Symbol not found: _grpc_set_ssl_roots_override_callback dyld:懒惰的符号绑定失败:找不到符号:使用heroku时,_ruby_run - dyld: lazy symbol binding failed: Symbol not found: _ruby_run when using heroku dyld:惰性符号绑定失败:找不到符号:_sqlite3_open_v2 - dyld: lazy symbol binding failed: Symbol not found: _sqlite3_open_v2 OS X Yosemite ffi-hunspell dyld惰性符号绑定失败:找不到符号 - OS X Yosemite ffi-hunspell dyld lazy symbol binding failed: symbol not found RVM / Heroku / Gem:惰性符号绑定失败 - RVM / Heroku / Gem: lazy symbol binding failed 'lazy符号绑定失败:使用gem命令在越狱iPhone上找不到符号:__OSSwapInt16' - 'Lazy symbol binding failed: Symbol not found: __OSSwapInt16' on jailbroken iPhone when using gem commands Ruby on Rails服务器无法启动:dyld:惰性符号绑定失败:未找到符号:_mysql_get_client_info - Ruby on Rails server won't start: dyld: lazy symbol binding failed: Symbol not found: _mysql_get_client_info 惰性符号绑定失败 - lazy symbol binding failed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM