nm utility to get what is defined in .so file returns error

Posted by Narek on Stack Overflow See other posts from Stack Overflow or by Narek
Published on 2014-06-01T00:37:42Z Indexed on 2014/06/01 3:26 UTC
Read the original article Hit count: 134

Filed under:
|
|
|

I need to get the symbols defined in .so file. I use latest Mac OS and I do this:

 /usr/bin/nm  -gC libs/armeabi/libhello.so 

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm: invalid argument -C Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm [-agnopruUmxjlfAP[s segname sectname] [-] [-t format] [[-arch ] ...] [file ...]

As I understand this is another nm utility? It is connected with XCode? How to fix this issue?

© Stack Overflow or respective owner

Related posts about c++

Related posts about osx