- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Where are 32 bit libraries located in 64 bit 1...
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
Forums
Discussions
Discussions
Discussions
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
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
07-23-2007 05:06 PM
07-23-2007 05:06 PM
Where are 32 bit libraries located in 64 bit 11i OS?
------------------------------------------
Bad magic number for shared library: /usr/lib/pa20_64/libpthread.1
------------------------------------------
I wanted to point my application to 32 bit library files in 64 bit OS of 11i. Can someone tell me the location of these?
ATB.
Sudhakar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 05:14 PM
07-23-2007 05:14 PM
Re: Where are 32 bit libraries located in 64 bit 11i OS?
Just take the default, /usr/lib/.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 05:19 PM
07-23-2007 05:19 PM
Re: Where are 32 bit libraries located in 64 bit 11i OS?
By default it is referring to 64 bit. I want 32 bit library location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 05:39 PM
07-23-2007 05:39 PM
Re: Where are 32 bit libraries located in 64 bit 11i OS?
You are confused. The default is always 32 bit on HP-UX.
In order to get your error above, you have either added the wrong embedded path or have mistakenly exported SHLIB_PATH to have /usr/lib/pa20_64.
(Assigning 0 points is not going to endear you and get other answers especially since I answered your questions.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 08:04 PM
07-23-2007 08:04 PM
Re: Where are 32 bit libraries located in 64 bit 11i OS?
it seems that you have the path /usr/lib/pa20_64 added to your SHLIB_PATH environment variable. Yoy should remove it to prevent loading 64bit libraries before 32bit libraries.
Hel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 08:22 PM
07-23-2007 08:22 PM
Re: Where are 32 bit libraries located in 64 bit 11i OS?
Hi Dennis,
As the problem didnt sorted out, had assigned that. Anyways thanks for explaing me on this. Lol...assigning you the points now.
Thanks Dennis and Heiner.
Let me check and come back to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 08:29 PM
07-23-2007 08:29 PM
Re: Where are 32 bit libraries located in 64 bit 11i OS?
Well, you can ask more questions and wait.
You can use chatr(1) on your executable to check the shlib paths.
You can also use ldd(1) on the executable to get all of the paths.