building shared object