Skip to content

Instantly share code, notes, and snippets.

@lucianosousa
Last active February 7, 2021 17:42
Show Gist options
  • Select an option

  • Save lucianosousa/76f0339876263f281146af3dd7dbe80f to your computer and use it in GitHub Desktop.

Select an option

Save lucianosousa/76f0339876263f281146af3dd7dbe80f to your computer and use it in GitHub Desktop.

Revisions

  1. Luciano Sousa revised this gist Feb 7, 2021. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,7 @@ Abort trap: 6
    ```

    $ gem uninstall ffi
    $ gem install ffi -- --disable-system-libffi
    $ gem install ffi -- --disable-system-libffi

    #Give a try on:
    `$ bundle config build.ffi --disable-system-libffi`
  2. Luciano Sousa created this gist Feb 7, 2021.
    14 changes: 14 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    ```
    dyld: lazy symbol binding failed: Symbol not found: _ffi_prep_closure_loc
    Referenced from: /Users/ls/.gem/ruby/3.0.0/gems/ffi-1.14.2/lib/ffi_c.bundle
    Expected in: /usr/lib/libffi.dylib

    dyld: Symbol not found: _ffi_prep_closure_loc
    Referenced from: /Users/ls/.gem/ruby/3.0.0/gems/ffi-1.14.2/lib/ffi_c.bundle
    Expected in: /usr/lib/libffi.dylib

    Abort trap: 6
    ```

    $ gem uninstall ffi
    $ gem install ffi -- --disable-system-libffi