Fix most linkage problems (on ubuntu trusty tahr).

Signed-off-by: Marcus Watts <mdw@cohortfs.com>
Fix problems with "install" when building "out of tree".

Signed-off-by: Marcus Watts <mdw@cohortfs.com>
s/MSG_CRC_REST/MSG_CRC_HEADER/ and cluster rdma.

For clarity, call this concept MSG_CRC_HEADER.

Also, link "cluster rdma" setting to "nocrc" rather than
"rdma local"--the latter is used in mixed SimpleMessenger and
XioMessenger setups.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
(cherry picked from commit e937ec327d2ba7270003e0f277b8fda078b19109)
Oops, use "conf" like I meant.  g_conf is a global which doesn't contain
the right value when using the "ceph" python script.

Signed-off-by: Marcus Watts <mdw@cohortfs.com>
Fix more linkage problems better.  Use "PRIVATE" when linking libraries
to avoid "transitive" dependencies which are hard (if not impossible)
to order correctly.

Also some further fixes so that librados is actually useable from python,
ie, the "ceph" command.

Signed-off-by: Marcus Watts <mdw@cohortfs.com>