Can somone please expain how is libc.so executable ? i.e How does it print its version info out when invoked, when its a shared library ?
I have read some stuff on how to build shared libraries, load them etc, but I havent found information on how I can write a SO in linux, and have it also behave like an executable.
Thanks Shahed