HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Resolving a symbol clash with libnsl
Operating System - HP-UX
1833758
Members
2344
Online
110063
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
03-12-2004 10:36 AM
03-12-2004 10:36 AM
Resolving a symbol clash with libnsl
I have a program that links with /lib/libnsl.1 and at runtime loads a 3rd party shared library (with shl_open). libnsl has functions MD5Init, MD5Update, and MD5Final in it. The problem is this 3rd party lib does to. When I load it and call one of it's functions that in turn calls MD5Init, the libnsl MD5Init function is called instead of the 3rd party lib's version!
How can I prevent the wrong function from being called?
How can I prevent the wrong function from being called?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 08:09 PM
03-12-2004 08:09 PM
Re: Resolving a symbol clash with libnsl
try shl_load'ing with BIND_FIRST ?
--
ranga
[i work for hpe]
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 04:44 AM
03-15-2004 04:44 AM
Re: Resolving a symbol clash with libnsl
If the third party library is not intending for those MD5* routines to be called directly by those using the library, it should be compiled to "hide" those symbols (not export them).
Similarly with libnsl.
My suggestion would be to get in touch with the third-party library supplier and have them make that change.
Also, see if there is a latest and greatest libnsl patch for your revision of UX (should have stated that... :) and if that hasn't hidden its versions, consider opening a call with the RC.
Do take _both_ paths. It would not be good to leave one or the other of them dangling to trap someone (perhaps even yourself :) at a later time.
Or I could be all wet, being a networking rather than languages guy :)
Similarly with libnsl.
My suggestion would be to get in touch with the third-party library supplier and have them make that change.
Also, see if there is a latest and greatest libnsl patch for your revision of UX (should have stated that... :) and if that hasn't hidden its versions, consider opening a call with the RC.
Do take _both_ paths. It would not be good to leave one or the other of them dangling to trap someone (perhaps even yourself :) at a later time.
Or I could be all wet, being a networking rather than languages guy :)
there is no rest for the wicked yet the virtuous have no pillows
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP