Friday, February 08, 2008

symbol table utility


nm -A -C dof.so | grep globalThreadCount

This is useful to track the source of an error message related to a mangled sym table name,
eg.
D02001 {WARNING} TgPathDLOpen: Bad DSO found: dof.so (undefined symbol: _ZN3Imf17globalThreadCountEv)


man nm

will give the manual page


ldd mydso.so

will list the dependencies a dso has. Which is also useful

1 comment:

Jed said...

Howdy Renderdan,

I'm seeing a D02001 (Maya 2016/Renderman 20?) on my MacBook Pro where the geometry renders but the xGen does not. When I look at the error message the file path in question has double slashes in some spots (ex. User/Applications/Pixar//lib/blahblah//thisandthat/File.so). Any ideas?