- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX Java not loading ELF32 shareable libraries
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
04-13-2016 12:50 PM
04-13-2016 12:50 PM
HPUX Java not loading ELF32 shareable libraries
The host is HP-UX 11.31 on ia64. I am trying to run Eclipse using java 8, installed from Itanium_JDK_JRE_8.0.04_Dec_2015_Z7550-63333_java8_18004_ia.depot.
When I run eclipse, I get an error stating that it cannot find libgdk-x11-2.0.so, libgtk-x11-2.0.so, libgobject-2.0.so, and libgdk_pixbuf-2.0.so. These 4 libraries are elf32 libraries, and the "file" command returns "ELF-32 shared object file - IA64"
Paths are correct and the file does in fact exist. When I run eclipse under tusc, I can see the access to the library, but the header indicates it's an elf32 library, not elf64, and it's immediately closed instead of being mapped.
open("/opt/gtk2.6/lib/libgdk-x11-2.0.so", O_RDONLY|0x800, 0) = 4
fstat(4, 0x9fffffffffffe6e0) ............................. = 0
read(4, "7fE L F 0102010101\0\0\0\0\0\0\0".., 64) ........ = 64
close(4) ................................................. = 0
I've tried running eclipse with the -d32 options, but no luck.
java version "1.8.0.04-hp-ux"
Java(TM) SE Runtime Environment (build 1.8.0.04-hp-ux-b2)
Java HotSpot(TM) Server VM (build 25.04-b2, mixed mode)
The elf64 libraries seem to be loading correctly.
open("/lib/hpux64/librt.so.1", O_RDONLY|0x800, 0) ........ = 4
fstat(4, 0x9fffffffffffed00) ............................. = 0
read(4, "7fE L F 0202010101\0\0\0\0\0\0\0".., 64) ........ = 64
pread(4, "7fE L F 0202010101\0\0\0\0\0\0\0".., 1024, 0) .. = 1024
mmap(NULL, 30416, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 4, 0) = 0xc000000000218000
mmap(NULL, 260, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_SHLIB, 4, 65536) = 0x9fffffffbf7fe000
close(4) ................................................. = 0
Any suggestions? I am stumped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2016 01:02 PM - edited 04-16-2016 01:04 PM
04-16-2016 01:02 PM - edited 04-16-2016 01:04 PM
Re: HP-UX Java not loading ELF32 shared libraries
What does tusc(1) say is the bit-ness of the process trying to load those shlibs?
>The elf64 libraries seem to be loading correctly.
This indicates a 64 bit process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2016 11:47 AM
04-22-2016 11:47 AM
Re: HP-UX Java not loading ELF32 shared libraries
execve("./eclipse", 0x9ffffffffffff2d0, 0x9ffffffffffff2f0) .......................................................... = 0 [64-bit]
Tusc shows it's a 64-bit version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2016 11:27 PM
06-23-2016 11:27 PM
Re: HP-UX Java not loading ELF32 shared libraries
ELF-32 libraries cannot be used in a process with an ELF-64 executable, you will have to find the ELF-64 version of that library and use that.
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 01:18 PM
07-22-2016 01:18 PM
Re: HP-UX Java not loading ELF32 shared libraries
I am having similar problem . Where can we find 64 bit version of libgtk-x11-2.0.so library? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 08:50 PM - edited 07-22-2016 08:52 PM
07-22-2016 08:50 PM - edited 07-22-2016 08:52 PM
Re: HP-UX Java not loading ELF32 shared libraries
It seems that the gtk packages available at HP-UX connect contain only 32-bit binaries. You can contact HP-UX connect by e-mail to request a 64-bit build or try to build the 64-bit version yourself with the source bundle available there.
--
ranga