Often when adding a method to a shared library, the method can't be found when accessed from another program. You start to wonder whether you made a mistake and whether the new method was indeed added. A simple way to check is to use the "nm" command e.g.
nm libraryname.sl
This lists all the symbols so best to do something like:
nm libraryname.sl | grep nameofmethod
Enjoy!