Monday, July 03, 2006

Unix : List symbols from object files

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.


This lists all the symbols so best to do something like:

nm | grep nameofmethod


No comments: