On 9/1/05, raja <[EMAIL PROTECTED]> wrote:
> Thank you so much,
> I need the list of files that in the shared object.I think it is not
> possible with nm or objdump.

I suppose you want to list object files that are imported by a certain
object file.  This is what ldd does.  Example:

        % ldd myapp
        libpthread.so.0 => (0x4002d000)
        libmysharedlib.so => (0x40042000)
        libc.so.6 => (0x4005b000)
        ld-linux.so.2 => (0x40000000)
        ...

An object file does not contain other object files, but references to
dependent libraries.  Hope this is what you're looking for.

Regards

        \Steve


> Steve Graegert wrote: 
> On 9/1/05, raja <[EMAIL PROTECTED]> wrote:
 
> Hi,
 Can anyone help me how to see list of object files that are in a
shared
> object.(.so file)
 
> You probably mean listing all symbols exported by an object file. If
so, try
> nm, objdump and their friends.
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" 
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to