On 5 June 2011 15:43, Nikos Chantziaras <rea...@arcor.de> wrote:
> Why are *.so files set as executables?  I noticed that they keep working if
> I do a "chmod a-x" on them.

You can in fact make a library be an executable at the same time, see:
/lib/libc.so.6

For those that care if can be accomplished by this method:
http://gcc.gnu.org/ml/gcc-help/2003-07/msg00232.html.

By rights shared libraries are a form of executable, the trick however
is that they have multiple entry points (whereas binaries have one).

I am not entirely sure the requirement for +x is needed anymore (it
certainly was in the past).

Thanks
Mark

Reply via email to