0

I have an executable that need to load an .so file.

Everything is working on Ubunto and RHEL5 but on RHEL6 I'm getting this error on dlopen: /proc/self/auxv: Permission denied

If I'm running the executable with root it is working without this error message.

void *handle = dlopen(file_path.c_str(), RTLD_LAZY | RTLD_GLOBAL);

Red Hat Enterprise Linux Server release 6.7 (Santiago)

kernel: 2.6.32-573.26.1.el6.x86_64

gcc (GCC) 4.4.7

ldd (GNU libc) 2.12

What does this file stands for and is there any way to resolve this?

Amir Rossert
  • 226
  • 2
  • 15

0 Answers0