- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- C & dynamic libraries....
Operating System - HP-UX
1754355
Members
5046
Online
108813
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
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
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
тАО06-11-2010 08:36 AM
тАО06-11-2010 08:36 AM
Hi, what would be the correct way to setup additional directories to look for shared libraries?.
The idea is not to use LD_LIBRARY_PATH but the equivalent in HPUX to "ldconfig" in Linux or "crle" in Solaris.
Regards,
The idea is not to use LD_LIBRARY_PATH but the equivalent in HPUX to "ldconfig" in Linux or "crle" in Solaris.
Regards,
Solved! Go to Solution.
- Tags:
- shlib
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2010 04:59 AM
тАО06-12-2010 04:59 AM
Re: C & dynamic libraries....
(The correct HP-UX terminology is shared libraries.)
You can either link with -L path and these will be included in the runtime lookup paths (rpath). Or you can link with +b path_list.
You can either link with -L path and these will be included in the runtime lookup paths (rpath). Or you can link with +b path_list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2010 07:38 AM
тАО06-14-2010 07:38 AM
Re: C & dynamic libraries....
Defining the library path at compilation time for each binary is the only "best practices" approach we have?, isn't there any system wide solution not involving shell variables?..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2010 11:08 AM
тАО06-14-2010 11:08 AM
Solution
>Defining the library path at link time for each binary is the only "best practices" approach we have? Isn't there any system wide solution not involving shell variables?
Those are the two solutions.
You of course can put your shlibs in /usr/lib/, or use $ORIGIN.
Those are the two solutions.
You of course can put your shlibs in /usr/lib/, or use $ORIGIN.
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