HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remove search paths from 64bit links?
Operating System - HP-UX
1835067
Members
2029
Online
110073
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
06-11-2003 11:55 AM
06-11-2003 11:55 AM
remove search paths from 64bit links?
One of our developers needs to figure out if this can be done, a excert from his message:
It appears that there is no way to remove search paths from 64 bit links.
Please try the UX test again with environment VAR settings if possible applicable.
32 bit VAR is SHLIB_PATH 64 bit VAR is LD_LIBRARY_PATH.
This may not be applicable to a priv, application. Please try and RSVP asap thanks
But this is the data I glean from the LD command used to link the C shared libs.
That is the problem with the HP links, there is no runpath specified for either 32 bit nor 64 bit clinks. The LD command obviously has different default options in the two modes. So far I have not been able to locate a specifiable option to suppress the inclusion of the build -L paths for shared libs into the binary for the 64 bit links, it does not include them in the 32 bit links.
If any one has more info I would appreciate it.
Thanks,
Randy
It appears that there is no way to remove search paths from 64 bit links.
Please try the UX test again with environment VAR settings if possible applicable.
32 bit VAR is SHLIB_PATH 64 bit VAR is LD_LIBRARY_PATH.
This may not be applicable to a priv, application. Please try and RSVP asap thanks
But this is the data I glean from the LD command used to link the C shared libs.
That is the problem with the HP links, there is no runpath specified for either 32 bit nor 64 bit clinks. The LD command obviously has different default options in the two modes. So far I have not been able to locate a specifiable option to suppress the inclusion of the build -L paths for shared libs into the binary for the 64 bit links, it does not include them in the 32 bit links.
If any one has more info I would appreciate it.
Thanks,
Randy
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 02:32 PM
06-12-2003 02:32 PM
Re: remove search paths from 64bit links?
You can use -Wl,+nodefaultrpath to suppress the
-L paths. The feature appeared in 11.00 patches, but is only documented in new manuals such as-
http://www.docs.hp.com./cgi-bin/onlinedocs.py?mpn=B9106-90007&service=hpux&path=00/01/163&title=HP-UX%2011i%20Version%201.5%20Reference%20Volume%201%2C%20Section%201
-L paths. The feature appeared in 11.00 patches, but is only documented in new manuals such as-
http://www.docs.hp.com./cgi-bin/onlinedocs.py?mpn=B9106-90007&service=hpux&path=00/01/163&title=HP-UX%2011i%20Version%201.5%20Reference%20Volume%201%2C%20Section%201
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