The default configuration for a Ceph build should produce a static rados library. If you actually want to build _only_ librados, that might require a bit automake tweeks. nwatkins@kyoto:~$ ls -l projects/ceph_install/lib/ total 691396 -rw-r--r-- 1 nwatkins nwatkins 219465940 Jan 6 09:56 librados.a -rwxr-xr-x 1 nwatkins nwatkins 1067 Jan 6 09:56 librados.la lrwxrwxrwx 1 nwatkins nwatkins 17 Jan 6 09:56 librados.so -> librados.so.2.0.0 lrwxrwxrwx 1 nwatkins nwatkins 17 Jan 6 09:56 librados.so.2 -> librados.so.2.0.0 -rwxr-xr-x 1 nwatkins nwatkins 89043452 Jan 6 09:56 librados.so.2.0.0 On Mon, Jan 6, 2014 at 3:45 AM, david hong <davidhong1604@xxxxxxxxx> wrote: > Hi ceph-users team, > > I'm a junior systems developer. > > I'm developing some applications using librados (librados only rather than > the whole Ceph package) from Ceph and it turns out the work of building the > librados-only package from the huge Ceph source code would be enormous. > > All I want is just a static library, librados.a. As far as I know, there is > no options in configure script and Makefile to build the static lib only. > As I know, I must have object files .o to build the librados.a. There are > only four object files in the src/librados/ dir, which are librados.o > RadosClient.o IoCtxImpl.o snap_set_diff.o but these 4 file is not enough ( I > built it and it failed to work) > > It would be great if you guys could give me some directions here. I'm > looking forward for your response. > Thanks and have a nice day ! > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com