Hi Samuel,
> > I am 'root', and the executable as well as the shared library are
> > executable. Where does the 'Permission denied' error come from?
> 
> That's because initscripts unexpectedly mounts a tmpfs on /tmp, while
> that doesn't apparently properly support program execution yet

Indeed. And setting RAMTMP to no in /etc/default/tmpfs does not help.

> To circumvent this you can set RAMSHM to no in /etc/default/tmpfs (yes,
> RAMSHM, it's not a typo).

This works, indeed. The comments in this configuration file apparently
don't match the reality!

Anyway, now running a program built with $ORIGIN in rpath works fine.

I've added support for it in gnulib:
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=015c30cac9dffe6e53a7f3bedc22e462c54150ed

However, ldd does not grok it. Reported as
<https://sourceware.org/bugzilla/show_bug.cgi?id=24260>.

Bruno


Reply via email to