- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr/lib/dld.sl: Invalid version for shared li...
Operating System - HP-UX
1748194
Members
4105
Online
108759
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-25-2008 07:43 PM
07-25-2008 07:43 PM
Re: /usr/lib/dld.sl: Invalid version for shared library with Java 1.5
>Can you explain the watermark? Is a watermark of 49 a no-go?
You want to hear the whole sad story of a fancy smancy idea that goes terribly wrong in the real world? ;-)
On 10.x, there were some incompatible changes in libcl and libc. They used pragma HP_SHLIB_VERSION for intra library versioning, to have both versions of the same function:
http://docs.hp.com/en/7133/pragmas.htm#pragma-SHLIB-VERSION
The largest version sets the highwater mark for the shlib. This is recorded in all load modules that refer to this shlib to make sure the that version or a newer version is used.
Then on 11.0, we gave up on that technology and used the SVR4 inter library versioning, with .1 and now .2.
Unfortunately only libc realized they could remove the old intra library versioning and start over with 0. And libcl was left in the state of having the useless versioning.
And in the case of java, if you change the dependent shlibs around, the highwater mark will be different and dld will reject it.
>there's still a highwater of 49 - but it works (???)
That's because for libjvm.sl, it always had 49. It didn't go from 49 to 0, like libjava.sl.
You want to hear the whole sad story of a fancy smancy idea that goes terribly wrong in the real world? ;-)
On 10.x, there were some incompatible changes in libcl and libc. They used pragma HP_SHLIB_VERSION for intra library versioning, to have both versions of the same function:
http://docs.hp.com/en/7133/pragmas.htm#pragma-SHLIB-VERSION
The largest version sets the highwater mark for the shlib. This is recorded in all load modules that refer to this shlib to make sure the that version or a newer version is used.
Then on 11.0, we gave up on that technology and used the SVR4 inter library versioning, with .1 and now .2.
Unfortunately only libc realized they could remove the old intra library versioning and start over with 0. And libcl was left in the state of having the useless versioning.
And in the case of java, if you change the dependent shlibs around, the highwater mark will be different and dld will reject it.
>there's still a highwater of 49 - but it works (???)
That's because for libjvm.sl, it always had 49. It didn't go from 49 to 0, like libjava.sl.
- Tags:
- HP_SHLIB_VERSION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2008 08:45 AM
08-13-2008 08:45 AM
Re: /usr/lib/dld.sl: Invalid version for shared library with Java 1.5
Solution:
Creation of a new executable ...
Java1.4 was downward compatible - Java1.5 isn't.
V.
Creation of a new executable ...
Java1.4 was downward compatible - Java1.5 isn't.
V.
*** Say 'Thanks' with Kudos ***
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP