Hi list,

I ran into some issue on customizing the librbd(linking with jemalloc) with
stock qemu in Ubuntu Trusty here.
Stock qemu depends on librbd1 and librados2(0.80.x). These two libraries
will be installed at /usr/lib/x86_64-linux-gnu/lib{rbd,rados}.so. The path
is included in /etc/ld.so.conf.d/x86_64-linux-gnu.conf. This seems to be
for compatibility of multi-arch support on Ubuntu.
I find when I'm building the local ceph, the compiler seems try to link
with the existing /etc/lib/x86_64-linux-gnu/librbd.so, instead of the newly
built local librbd. So I just went to remove those
/usr/lib/x86_64-linux-gnu/lib{rbd,rados}.so and installed my customized lib
into /usr/local/lib/

Is this the right way to building a customized Ceph? or should I make the
--prefix=/usr/lib/x86_64-linux-gnu?

Sincerely, Yuan
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to