As mentioned by Matthias think error above is fixed by recompiling leveldb.  I 
added a block on 791086 to reflect this.

My build procedure is:

- install boost packages from experimental

$ apt-get install -t experimental libboost-dev libboost-program-options-dev 
libboost-system-dev libboost-thread-dev

- rebuild leveldb with gcc5

$ apt-get source leveldb
[rebuilt it]
$ dpkg -i libleveldb-dev_1.18-2_amd64.deb  libleveldb1_1.18-2_amd64.deb

- Install systemd from experimental to satisfy other B-D dependencies

$ apt-get install -t experimental systemd

- Apply patch to get test to link (not sure why this didn’t break anything 
before)

Index: ceph-0.94.2/src/test/Makefile-client.am
===================================================================
--- ceph-0.94.2.orig/src/test/Makefile-client.am
+++ ceph-0.94.2/src/test/Makefile-client.am
@@ -337,7 +337,7 @@ if LINUX
 ceph_test_librbd_fsx_SOURCES = test/librbd/fsx.c common/dummy.cc
 ceph_test_librbd_fsx_LDADD = \
        $(LIBKRBD) $(LIBRBD) $(LIBRADOS) \
-       $(CRYPTO_LIBS) $(PTHREAD_LIBS) -luuid
+       $(CRYPTO_LIBS) $(PTHREAD_LIBS) -luuid -lcommon
 ceph_test_librbd_fsx_CFLAGS = ${AM_CFLAGS}
 bin_DEBUGPROGRAMS += ceph_test_librbd_fsx
 endif

- rebuild (and wait a long time)

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to