- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr/lib/dld.sl: Exec format error
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
11-17-2003 11:55 AM
11-17-2003 11:55 AM
/usr/lib/dld.sl: Exec format error
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /opt/java1.3/jre/lib/PA_RISC/hotspot/libjvm.sl
/usr/lib/dld.sl: Exec format error
What is the meaning of the "Exec format error"? Do I have a wrong library somewhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 12:38 PM
11-17-2003 12:38 PM
Re: /usr/lib/dld.sl: Exec format error
Suggested, re-compile and give it a go
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 12:50 PM
11-17-2003 12:50 PM
Re: /usr/lib/dld.sl: Exec format error
The HP documentation requires that the JNI (Java Native Interface) layer be linked with libjvm.sl. However, this causes the following error when performing the shl_load on the C shared library:
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /opt/java1.3/jre/lib/PA_RISC/hotspot/libjvm.sl
/usr/lib/dld.sl: Exec format error
Did you already patch your system with recomended patch(es) ? Please goto this url below for those information :
http://www.hp.com/products1/unix/java/patches/index.html
Hope this information can help you.
Best Regards,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 04:55 PM
11-17-2003 04:55 PM
Re: /usr/lib/dld.sl: Exec format error
$man shl_load : .............
Use caution when building shared libraries with external library
dependencies. Any library that contains Thread Local Storage (TLS)
should not be used as a dependency. If a dependent library contains
TLS, and it is not loaded during program startup (that is, not linked
against the executable), the dynamic loader fails to perform the
operation.
..................
Hope it is not a usual case fitting above desc.
You can try using LD_PRELOAD with fully qualified path.
regds
Yogi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 05:01 PM
11-17-2003 05:01 PM
Re: /usr/lib/dld.sl: Exec format error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 12:56 AM
11-18-2003 12:56 AM
Re: /usr/lib/dld.sl: Exec format error
export LD_PRELOAD_ONCE=/ opt/java1.3/jre/lib/PA_RISC/hotspot/libjvm.sl in the shell that runs your program.
also check if the env in the 'good' system has LD_PRELOAD or LD_PRELOAD_ONCE set.
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 03:55 AM
11-18-2003 03:55 AM
Re: /usr/lib/dld.sl: Exec format error
This is an application distributed to many customers and only one of them is complaining. I consider it fortunate that I found a test server where it fails as well.
We already us LD_PRELOAD in the script that starts java. It appears to be more related to the patch.
I will let you know shortly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 05:24 AM
12-12-2003 05:24 AM
Re: /usr/lib/dld.sl: Exec format error
We have had success with LD_PRELOAD with users who log in with the Korn shell and maybe this will work as well. I will let you guys know and assign points when I know more.
Thank-you for your efforts.
Al