"nm" not showing any names on shared library (.SO)
807575Jan 23 2006 — edited Jan 26 2006Hi,
I am using Sun Studio 11 'CC' to compile a shared library that is linked with a static library (libdmauthplug.a). Here're the command lines for the compile:
CC -Dsolaris -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -c mysource.cpp
CC -o mysharedlib.so mysource.o -shared -fPIC -G -L. -Bstatic -ldmauthplug
The above command lines produce mysharedlib.so, but when I run "nm -g mysharedlib.so", I am getting no output:
bash-2.05# nm -g mysharedlib.so
mysharedlib.so:
bash-2.05#
Can anyone explain why the "nm" isn't able to show any names from mysharedlib.so?
Thanks in advance,
Jim