HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SHLIB_PATH being ignored
Operating System - HP-UX
1833325
Members
2796
Online
110051
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
07-03-2001 06:21 AM
07-03-2001 06:21 AM
SHLIB_PATH being ignored
We have an old HP4GL program that we need to keep going until it gets replaced.
When we upgraded to HP-UX 10 we created a version of libc.sl which had the procedures hp4glb wanted and set SHLIB_PATH to its location, we then used "chatr +s enable +b disable hp4glb" and it all worked.
When we upgraded to HP-UX 11 it would not work all avenues that we tried failed the dld.sl always seemed to get libc.sl from /lib.
After much searching we tried
"export LD_PRELOAD="/opt/HP4GL/lib/libc.sl"
and it worked.
What I want to know is why the SHLIB_PATH method won't work?
When we upgraded to HP-UX 10 we created a version of libc.sl which had the procedures hp4glb wanted and set SHLIB_PATH to its location, we then used "chatr +s enable +b disable hp4glb" and it all worked.
When we upgraded to HP-UX 11 it would not work all avenues that we tried failed the dld.sl always seemed to get libc.sl from /lib.
After much searching we tried
"export LD_PRELOAD="/opt/HP4GL/lib/libc.sl"
and it worked.
What I want to know is why the SHLIB_PATH method won't work?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2001 05:10 AM
07-05-2001 05:10 AM
Re: SHLIB_PATH being ignored
Did you try exporting the SHLIB_PATH? First you should simply try echo $SHLIB_PATH at the prompt and see what you get.
Sys Admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2001 05:15 AM
07-05-2001 05:15 AM
Re: SHLIB_PATH being ignored
Yes I did export it. I used a script that works under HP-UX 10.20 which sets it up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2001 06:50 AM
07-05-2001 06:50 AM
Re: SHLIB_PATH being ignored
Hi Ashley,
I can only give you the same answer that I was given, the dynamic loader algorithms and shl_load functions were modified for thread local storage and that the dynamic loader behavior is different in the 32-bit and 64-bit versions.
Regards, Clay
I can only give you the same answer that I was given, the dynamic loader algorithms and shl_load functions were modified for thread local storage and that the dynamic loader behavior is different in the 32-bit and 64-bit versions.
Regards, Clay
If it ain't broke, I can fix that.
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