Thanks to visit codestin.com
Credit goes to github.com

Skip to content

getting yara to work on M1 with Docker #3

@willf

Description

@willf

Current error message:

/usr/local/bundle/gems/ffi-1.15.5/lib/ffi/types.rb:69:in `find_type': unable to resolve type 'uint32_t' (TypeError)
        from /usr/local/bundle/gems/ffi-1.15.5/lib/ffi/struct.rb:278:in `find_type'

Things which don't work

  • setting or unsetting using system libraries
  • using --enable-libffi-alloc Segmentation fault on M1 macOS Big Sur ffi/ffi#864
  • trying to set the LD_LIBRARY_PATH in the Docker file (seems like it should be unnecessary in any case)
  • getting ffi to fail directly (but only fails when require 'yara')

Notes

  • Docker is using aarch-64-linux
  • Darwin is using arm64-darwin21

Things it might be:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions