Use libtool to create shared library