Skip to content
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

bootsnap can't find mini_racer_extension.so #144

Closed
aleksclark opened this issue Jul 3, 2019 · 4 comments
Closed

bootsnap can't find mini_racer_extension.so #144

aleksclark opened this issue Jul 3, 2019 · 4 comments

Comments

@aleksclark
Copy link

aleksclark commented Jul 3, 2019

When using bootsnap 1.4.4 and mini_racer 0.2.6 OR 0.2.5, bootsnap doesn't seem to be able to load mini_racer:

/bundle/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require': Error relocating /bundle/gems/mini_racer-0.2.5/lib/mini_racer_extension.so: backtrace_symbols: symbol not found - /bundle/gems/mini_racer-0.2.5/lib/mini_racer_extension.so (LoadError)
 	from /bundle/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
 	from /bundle/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
 	from /bundle/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
 	from /bundle/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
 	from /bundle/gems/activesupport-5.2.2.1/lib/active_support/dependencies.rb:291:in `block in require'
 	from /bundle/gems/activesupport-5.2.2.1/lib/active_support/dependencies.rb:257:in `load_dependency'
 	from /bundle/gems/activesupport-5.2.2.1/lib/active_support/dependencies.rb:291:in `require'
 	from /bundle/gems/mini_racer-0.2.5/lib/mini_racer.rb:2:in `<main>'
 	from /bundle/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
 	from /bundle/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
 	from /bundle/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
 	from /bundle/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
 	from /bundle/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
 	from /usr/local/lib/ruby/2.6.0/bundler/runtime.rb:81:in `block (2 levels) in require'
 	from /usr/local/lib/ruby/2.6.0/bundler/runtime.rb:76:in `each'
 	from /usr/local/lib/ruby/2.6.0/bundler/runtime.rb:76:in `block in require'
 	from /usr/local/lib/ruby/2.6.0/bundler/runtime.rb:65:in `each'
 	from /usr/local/lib/ruby/2.6.0/bundler/runtime.rb:65:in `require'
 	from /usr/local/lib/ruby/2.6.0/bundler.rb:114:in `require'
 	from /apollo/config/application.rb:17:in `<top (required)>'

This is dockerified, but it only happens when requiring mini_racer

@ignisf
Copy link
Contributor

ignisf commented Jul 3, 2019

What distro are you using in your container?

@aleksclark
Copy link
Author

aleksclark commented Jul 3, 2019 via email

@ignisf
Copy link
Contributor

ignisf commented Jul 3, 2019

😞

https://github.com/cowboyd/libv8#requirements

Linux with glibc or macOS. See #259, #253 and #217 for state of other platforms.

@aleksclark
Copy link
Author

ahh, that helps at least, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants