rocksdb: build shared library