- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SHLIB path
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
тАО08-09-2005 04:33 PM
тАО08-09-2005 04:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 04:44 PM
тАО08-09-2005 04:44 PM
Re: SHLIB path
i like this statement about SHLIB_PATH:
SHLIB_PATH is analogous to the LD_LIBRARY_PATH in most other OSes. Actually, HPUX uses both but uses LD_LIBRARY_PATH for 64-bits only (this according to the ld man page). It uses these variables to locate shared libraries that are needed by the program.
taken from:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=104860
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 05:13 PM
тАО08-09-2005 05:13 PM
Re: SHLIB path
SHLIB is the path which OS uses to search for libraries when a program is running.
This is the runtime path of a executable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 05:25 PM
тАО08-09-2005 05:25 PM
Re: SHLIB path
On HP-UX 10.20 and 11 (32 bit), LD_LIBRARY_PATH is not checked by the dynamic
loader when locating shared libraries required to start an executable. These versions of HP-UX will check the environment variable SHLIB_PATH instead.
On HP-UX 11 (64 bit), however, both LD_LIBRARY_PATH and SHLIB_PATH are valid. The use of these environment variables can be enabled/disabled dynamically (ie, do not require a relink).
The 'chatr' command will verify if these environment variables are used. 'chatr' is similar to the 'ldd' command found on SVR4 UNIX.
Attached document explains the use of LD_LIBRARY_PATH and SHLIB_PATH on HP-UX.
IA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 05:40 PM
тАО08-09-2005 05:40 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 06:22 PM
тАО08-09-2005 06:22 PM
Re: SHLIB path
Here is the guide describing all the terms mentioned above.
http://docs.hp.com/en/B2355-90655/ch05.html
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 07:19 PM
тАО08-09-2005 07:19 PM
Re: SHLIB path
The SHLIB_PATH environment variable tells the shell on HP-UX systems which directories to search for dynamic-link libraries. This is used, for example, with the INTERSOLV DataDirect ODBC Driver. You must specify the full pathname for the directory where you installed the product.
e.g. setenv--SHLIB_PATH--$PATH:----pathname
On Solaris systems, it is LD_LIBRARY_PATH. On AIX systems it is LIBPATH
Regards
Mahesh