the build seems to forget to link some files in shared mode...

Without this patch, my build died when linking scribed:

g++  -Wall -O3 -L/usr/lib -lboost_system -lboost_filesystem  -o scribed store.o store_queue.o conf.o file.o conn_pool.o scribe_server.o network_dynamic_config.o dynamic_bucket_updater.o  env_default.o  -L/usr/lib -L/usr/lib -L/usr/local/lib -lfb303 -lthrift -lthriftnb -levent -lpthread  libscribe.so 
dynamic_bucket_updater.o: In function `DynamicBucketUpdater::updateInternal(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, unsigned int, unsigned int, unsigned int)':
dynamic_bucket_updater.cpp:(.text+0xc9e): undefined reference to `vtable for scribe::thrift::BucketStoreMappingClient'
...