i faced a question ,how we know how many static library and how many dynamic library we have used in a c++ program,is there any command in Linux.
You can disassemble the application to find out. You will need to use a disassembler. Google for a good Linux disassembler.
I would use nm. It's a very useful tool, look up the man page for full details