It seems one of the dependencies of this gem: llhttp-ffi is failing to load the ffi library on x86_64 intel mac.
I'm seeing this on a CI instance (running from Macstadium machine), so it's a bit harder to debug.
It seems the library was installed correctly, which I assume compiled the native library, but when executing code it can't find/load it:
LoadError: cannot find 'llhttp-ext' library
/.../.rvm/gems/ruby-3.0.5/gems/ffi-compiler-1.0.1/lib/ffi-compiler/loader.rb:21:in `find'
/.../.rvm/gems/ruby-3.0.5/gems/llhttp-ffi-0.4.0/lib/llhttp.rb:13:in `<module:LLHttp>'
/.../.rvm/gems/ruby-3.0.5/gems/llhttp-ffi-0.4.0/lib/llhttp.rb:6:in `<top (required)>'
/.../.rvm/gems/ruby-3.0.5/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:332:in `require'
/.../.rvm/gems/ruby-3.0.5/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:332:in `block in require'
/.../.rvm/gems/ruby-3.0.5/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:299:in `load_dependency'
/.../.rvm/gems/ruby-3.0.5/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:332:in `require'
/.../.rvm/gems/ruby-3.0.5/gems/http-5.1.1/lib/http/response/parser.rb:3:in `<top (required)>'
...
relevant dependencies from the Gemfile.lock:
http (5.1.1)
addressable (~> 2.8)
http-cookie (~> 1.0)
http-form_data (~> 2.2)
llhttp-ffi (~> 0.4.0)
I've also noticed that llhttp-ffi has a new version released, but unsure whether it could help here or not.
It seems one of the dependencies of this gem:
llhttp-ffiis failing to load the ffi library on x86_64 intel mac.I'm seeing this on a CI instance (running from Macstadium machine), so it's a bit harder to debug.
It seems the library was installed correctly, which I assume compiled the native library, but when executing code it can't find/load it:
relevant dependencies from the Gemfile.lock:
I've also noticed that llhttp-ffi has a new version released, but unsure whether it could help here or not.