0

I am trying to build a file using an application which uses this C library "libhadoop.so". When doing so, the following warning message appears:

OpenJDK 64-Bit Server VM warning: You have loaded library /home/user/hadoop-
2.2.0/lib/native/libhadoop.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'.

Is there any way I can prevent the warning from appearing?

user3033194
  • 1,775
  • 7
  • 42
  • 63

1 Answers1

0

Maybe the solution given at Stack guard might have disabled? will help you, too.

Check for package "execstack" with: execstack --version If not found, install it with:

sudo apt-get install execstack

Execute the command recommended inside of the message:

sudo execstack -c /home/user/hadoop-2.2.0/lib/native/libhadoop.so
Sunil Garg
  • 14,608
  • 25
  • 132
  • 189