[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    RE: HPUX-DEVTOOLS: Shared libs
From:       "Lockwood, Glenn" <Glenn.Lockwood () uscellular ! com>
Date:       2007-06-21 15:31:33
Message-ID: 4272B287ECF5B44AAC1B463BD5AB42AE84DDA6 () WIMADEVS001 ! int ! usc ! local
[Download RAW message or body]

 I believe the problem I had with nm is that symbols have been stripped
from sl.
 I see odump prints them anyway. Thanks...

>-----Original Message-----
>From: owner-hpux-devtools@cxx.cup.hp.com 
>[mailto:owner-hpux-devtools@cxx.cup.hp.com] On Behalf Of Dennis Handly
>Sent: Wednesday, June 20, 2007 4:05 PM
>To: Lockwood, Glenn; hpux-devtools@cxx.cup.hp.com
>Subject: Re: HPUX-DEVTOOLS: Shared libs
>
>>From: "Lockwood, Glenn" <Glenn.Lockwood@uscellular.com>
>>How can I get the symbols from a shared lib?
>>E.g. Like with nm.
>
>As Cyrille says, you can use nm.
>Unless you are using tricky ld options.  Then you need odump/elfdump.
>
>>From: "Maucci, Cyrille" <cyrille.maucci@hp.com>
>>odump -sym for PA-32 libs
>>elfdump -t for PA-64 or IPF libs
>
>The right command for tricky shlibs is:
>odump -slexport -slimport
>elfdump -n .dynsym -s
>
>An example of a tricky shlib is:
>/usr/lib/libCsup.sl
>/usr/lib/hpux??/libCsup.so
>
> _________________________________________________________________
> To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
>    with the message UNSUBSCRIBE hpux-devtools
> _________________________________________________________________
>

 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic