New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol not found: _ffi_type_double #687
Comments
This looks like ruby-ffi is linked to a different libffi version at run time than that it was linked to while build time. |
Looks like you're right - thanks for the help! Managed to solve with the following:
|
@larskanis hi, I would be thankful if you could help me. Project uses old version of ffi 1.10.0. I have mac with M1 processor To install ffi 1.10.0 without error I use option in config file I think your answer might be a root cause of my error, but I've tried steps from #687 (comment) and they didn't work. How can I link ruby-ffi to same libffi version at run time and build time? |
I am experiencing the following error when I attempt to run a Rake task after having added
gem 'ffi', '1.10.0'
to the Gemfile of a freshly-generated Rails app.This is with Ruby 2.6.1 and Bundler version 2.0.1 running on macOS 10.14.3.
Output of
ruby -v
:Output of
bundle info ffi
:Output of
uname -a
:Here is the output of a sample Rake task eg.
rake routes --trace
:The text was updated successfully, but these errors were encountered: