Skip to content

mini_racer: `rb_context_init_unsafe': External function cannot be found. #2029

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

Closed
SamSaffron opened this issue Jun 9, 2020 · 2 comments
Closed
Assignees

Comments

@SamSaffron
Copy link

#1827 got closed reopening here

gem install mini_racer
ruby -rmini_racer -e 'context = MiniRacer::Context.new; context.eval "var adder = (a,b)=>a+b"; puts context.eval "adder(20,22)"'
ruby -rmini_racer -e 'context = MiniRacer::Context.new; context.eval "var adder = (a,b)=>a+b"; puts context.eval "adder(20,22)"'
/home/sam/.gem/truffleruby/2.6.5/gems/mini_racer-0.2.14/ext/mini_racer_extension/mini_racer_extension.cc:196:in `init_v8': External LLVMFunction _ZN2v82V813InitializeICUEPKc cannot be found. (LLVMLinkerException) (RuntimeError)
Translated to internal error
	from /home/sam/.gem/truffleruby/2.6.5/gems/mini_racer-0.2.14/ext/mini_racer_extension/mini_racer_extension.cc:786:in `rb_context_init_unsafe'
	from /home/sam/.rubies/truffleruby-dev/lib/truffle/truffle/cext_ruby.rb:39:in `init_unsafe'
	from /home/sam/.gem/truffleruby/2.6.5/gems/mini_racer-0.2.14/lib/mini_racer.rb:164:in `initialize'
	from -e:1:in `new'
	from -e:1:in `<main>'
@eregon
Copy link
Member

eregon commented Jun 9, 2020

Thanks. I've asked @deepj if it's OK if I reopen his reported issues in #1900.

@eregon eregon self-assigned this Jun 9, 2020
@eregon eregon added the cexts label Jun 9, 2020
@eregon
Copy link
Member

eregon commented Jun 19, 2020

I reopened #1827.

@eregon eregon closed this as completed Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants