JRuby禁用堆栈防护

时间:2014-12-15 17:59:07

标签: jruby

我已经安装了jruby 1.7.4,每次执行程序时都会出现以下错误:

Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /opt/jruby/lib/native/arm-     Linux/libjffi-1.2.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

我尝试使用“execstack -c / opt / jruby / lib / native / arm-Linux/libjffi-1.2.so”禁用错误消息,但错误仍在继续。

如何禁用/修复此错误消息?

1 个答案:

答案 0 :(得分:0)

简单地安装最近的JRuby 1.7.x ...例如 1.7.17 目前