Naja, Libraries und Executables unterscheiden sich intern nicht großartig voneinander. Die Unterscheidung, ruft es der Benutzer auf oder wird es von einem anderen Programm geladen, ist da viel offensichtlicher.
Beispiel:
$ /usr/lib/libc-2.17.so
GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.8.0.
Compiled on a Linux 3.8.4 system on 2013-04-09.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<https://bugs.archlinux.org/>.
Library und ausführbar, wie soll man das jetzt einordnen? 😉