109e6022be introduced "-lboost_system" into
example/librados/Makefile but the Boost system library is no longer required
to compile and link hello_world.cc.
Fixes: http://tracker.ceph.com/issues/25054
Signed-off-by: Nathan Cutler <ncutler@suse.com>
The library link order in librados example Makefile is incorrect
and as a result 'make' throws an error. This change fixes the order.
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
/bin/bash is a Linuxism. Other operating systems install bash to
different paths. Use /usr/bin/env in shebangs to find bash.
Signed-off-by: Alan Somers <asomers@gmail.com>
Fixes#15100. The Makefile now by default links and includes from the
current source tree's librados and offers another option for building
examples against the system's.
Signed-off-by: Jesse Williamson <nerd.cpp@gmail.com>
Copy contents of bufferlist to a string before sending to stdout since a
bufferlist is not null terminated.
Fixes: #7822
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>