Newbie questions: how to build shared objects