Skip to content

Instantly share code, notes, and snippets.

@defanator
Created February 10, 2025 17:57
Show Gist options
  • Save defanator/bb2ca38a64f6a38b3fe07c7497ac9cac to your computer and use it in GitHub Desktop.
Save defanator/bb2ca38a64f6a38b3fe07c7497ac9cac to your computer and use it in GitHub Desktop.
vagrant 2.4.3 issue with virtualbox 7.1.6
% vagrant
<internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require': ffi_prep_cif failed. status=0x2 (fatal)
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /opt/vagrant/embedded/gems/gems/ffi-1.17.0/lib/ffi.rb:5:in `rescue in <top (required)>'
from /opt/vagrant/embedded/gems/gems/ffi-1.17.0/lib/ffi.rb:2:in `<top (required)>'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/com/ffi/interface.rb:1:in `<top (required)>'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:31:in `block in glob_require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:29:in `each'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:29:in `glob_require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/com.rb:23:in `<top (required)>'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:31:in `block in glob_require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:29:in `each'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:29:in `glob_require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox.rb:6:in `<top (required)>'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/lib/vagrant/plugin/manager.rb:348:in `block in load_plugins'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/lib/vagrant/plugin/manager.rb:344:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/lib/vagrant/plugin/manager.rb:344:in `load_plugins'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/lib/vagrant/environment.rb:198:in `initialize'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/bin/vagrant:210:in `new'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/bin/vagrant:210:in `<main>'
<internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- 3.3/ffi_c (LoadError)
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /opt/vagrant/embedded/gems/gems/ffi-1.17.0/lib/ffi.rb:3:in `<top (required)>'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/com/ffi/interface.rb:1:in `<top (required)>'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:31:in `block in glob_require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:29:in `each'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:29:in `glob_require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/com.rb:23:in `<top (required)>'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:31:in `block in glob_require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:29:in `each'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox/ext/glob_loader.rb:29:in `glob_require'
from /Users/defan/.vagrant.d/gems/3.3.6/gems/virtualbox-0.8.6/lib/virtualbox.rb:6:in `<top (required)>'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/lib/vagrant/plugin/manager.rb:348:in `block in load_plugins'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/lib/vagrant/plugin/manager.rb:344:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/lib/vagrant/plugin/manager.rb:344:in `load_plugins'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/lib/vagrant/environment.rb:198:in `initialize'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/bin/vagrant:210:in `new'
from /opt/vagrant/embedded/gems/gems/vagrant-2.4.3/bin/vagrant:210:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment