- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- I have a shared library "library.so", how can i fi...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 05:49 AM
тАО05-25-2009 05:49 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 06:06 AM
тАО05-25-2009 06:06 AM
Re: I have a shared library "library.so", how can i find out how this particular library was built ?
You could use footprints(1) for HP's compilers.
- Tags:
- footprints
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 06:19 AM
тАО05-25-2009 06:19 AM
Re: I have a shared library "library.so", how can i find out how this particular library was built ?
We wanted to find the difference between the library we built locally and the one that was built in the HP-Connect.
As the one we use from Connect has a different behavior. So we are just checking if there is any way to triage this issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 04:10 PM
тАО05-25-2009 04:10 PM
Re: I have a shared library "library.so", how can i find out how this particular library was built ?
Which one works? ;-) What library?
Are you using HP's compilers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 11:07 PM
тАО05-25-2009 11:07 PM
Re: I have a shared library "library.so", how can i find out how this particular library was built ?
Thanks for the follow-up :)
The library built from connect works!
It is the "libexpat" library, Yes we are using the HP Compiler - HP C/aC++ v6.20 to build the libexpat from the downloaded source from connect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 11:51 PM
тАО05-25-2009 11:51 PM
Re: I have a shared library "library.so", how can i find out how this particular library was built ?
if you want to know how is built libexpat from the connect site.
why don't take a look at the installation document from it ?
http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Development/Tools/expat-2.0.1/expat-2.0.1-src-11.11.tar.gz+expat-2.0.1/HPUX.Install+text
All compilation steps are documented.
Regards,
Cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 11:59 PM
тАО05-25-2009 11:59 PM
Solutionbeside the footprints tools, you could also use the elfdump(1) command to display the compilation unit directory (in the .notes section).
/usr/ccs/bin/elfdump -dc
A sample output:
A.06.17 [Mar 4 2008] [Build N/A *E001*]
ecom options = -target_os 11.22 -ext on -lang c,c99 [...]
Unfortunately, the compilation directory only lists the ecom options, not the options given to the compiler driver aCC/cc. But nevertheless it might be helpful, at least for the compiler version used during compilation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2009 01:05 AM
тАО05-26-2009 01:05 AM
Re: I have a shared library "library.so", how can i find out how this particular library was built ?
You could try dropping the opt level to +O1.
The latest patch is A.06.22, with A.06.23 coming out next month.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2009 10:34 PM
тАО05-26-2009 10:34 PM
Re: I have a shared library "library.so", how can i find out how this particular library was built ?
Thanks for the suggestions and pointers, and since i was building the "libexpat" to be used by perl for module XML::Parser, i had to use the same flags as used for building perl.
I have the issue resolved.
Thanks All.