changed library name to libsm.so