linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Shared Object
@ 2005-09-01  4:14 raja
  2005-09-01  5:24 ` Steve Graegert
  2005-09-01 11:49 ` Ronaldo.Afonso
  0 siblings, 2 replies; 4+ messages in thread
From: raja @ 2005-09-01  4:14 UTC (permalink / raw)
  To: linux-c-programming

Hi,
    Can anyone help me how to see list of object files that are in a 
shared object.(.so file)


thanking you,
Raja

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Shared Object
  2005-09-01  4:14 Shared Object raja
@ 2005-09-01  5:24 ` Steve Graegert
       [not found]   ` <43168ED6.4060204@effigent.net>
  2005-09-01 11:49 ` Ronaldo.Afonso
  1 sibling, 1 reply; 4+ messages in thread
From: Steve Graegert @ 2005-09-01  5:24 UTC (permalink / raw)
  To: raja; +Cc: linux-c-programming

On 9/1/05, raja <vnagaraju@effigent.net> 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.

Regards

	\Steve

--

Steve Graegert <graegerts@gmail.com>
Software Consultancy {C/C++ && Java && .NET}
Mobile: +49 (176)  21248869
Office: +49 (9131) 7126409

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Shared Object
       [not found]   ` <43168ED6.4060204@effigent.net>
@ 2005-09-01  5:57     ` Steve Graegert
  0 siblings, 0 replies; 4+ messages in thread
From: Steve Graegert @ 2005-09-01  5:57 UTC (permalink / raw)
  To: raja; +Cc: linux-c-programming

On 9/1/05, raja <vnagaraju@effigent.net> 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 <vnagaraju@effigent.net> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Shared Object
  2005-09-01  4:14 Shared Object raja
  2005-09-01  5:24 ` Steve Graegert
@ 2005-09-01 11:49 ` Ronaldo.Afonso
  1 sibling, 0 replies; 4+ messages in thread
From: Ronaldo.Afonso @ 2005-09-01 11:49 UTC (permalink / raw)
  To: raja; +Cc: linux-c-programming, linux-c-programming-owner





Hello,

You could use the following command line: objdump -t "yourlib.so". In order
to see the symbols, your lib mustn't be stripped.
For more information "man objdump".
Good luck.

Ronaldo Z. Afonso
Projetista de Software
Cyclades Brasil
ronaldo.afonso@cyclades.com.br

Phone: 55 11 5033-3361
Fax: 55 11 5033-3388
www.cyclades.com.br


                                                                           
             raja                                                          
             <vnagaraju@effige                                             
             nt.net>                                                    To 
             Sent by:                  linux-c-programming@vger.kernel.org 
             linux-c-programmi                                          cc 
             ng-owner@vger.ker                                             
             nel.org                                               Subject 
                                       Shared Object                       
                                                                           
             09/01/2005 01:14                                              
             AM                                                            
                                                                           
                                                                           
                                                                           




Hi,
    Can anyone help me how to see list of object files that are in a
shared object.(.so file)


thanking you,
Raja
-
To unsubscribe from this list: send the line "unsubscribe
linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-01 11:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-01  4:14 Shared Object raja
2005-09-01  5:24 ` Steve Graegert
     [not found]   ` <43168ED6.4060204@effigent.net>
2005-09-01  5:57     ` Steve Graegert
2005-09-01 11:49 ` Ronaldo.Afonso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).