- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- /etc/ld.so.conf.d/oracle.conf
Operating System - Linux
1821051
Members
2746
Online
109631
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
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
тАО10-08-2010 08:26 AM
тАО10-08-2010 08:26 AM
Hi, I want to add a couple of paths to ldconfig, and my plan is to put them in "/etc/ld.so.conf.d/oracle.conf". My question is, do you put them in separated by a ":" (as in a PATH variable) or do you put each path on a separate line? It looks like they are to go on separate lines, i.e.
/path1
/path2
but I wasn't quite sure. Thank you, Gil
/path1
/path2
but I wasn't quite sure. Thank you, Gil
If I could take one thing with me into the next world it would be my valid login to HP ITRC Forums
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2010 08:25 AM
тАО10-10-2010 08:25 AM
Solution
HP-UX does not use ld.so.conf for library preload paths caching. I suppose your query is related to Linux environment.
Anyway, ld.so.conf reads exactly one path per line. You example of /path1 and /path2 being on separate lines is correct.
Regards
-Rajesh
Anyway, ld.so.conf reads exactly one path per line. You example of /path1 and /path2 being on separate lines is correct.
Regards
-Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2010 11:09 AM
тАО10-11-2010 11:09 AM
Re: /etc/ld.so.conf.d/oracle.conf
Thank you.
Regarding this, what are the opinions about adding paths using files like "oracle.conf" etc. Consider:
http://blogs.sun.com/ali/entry/avoiding_ld_library_path_the
Which do you think is the preferred way to handle LD_LIBARY_PATH (custom library locations)?
"/etc/ld.so.conf.d/oracle.conf" file
vs.
setting it in your current environment
vs.
setting it in the user profile?
Thanks, Gil
Regarding this, what are the opinions about adding paths using files like "oracle.conf" etc. Consider:
http://blogs.sun.com/ali/entry/avoiding_ld_library_path_the
Which do you think is the preferred way to handle LD_LIBARY_PATH (custom library locations)?
"/etc/ld.so.conf.d/oracle.conf" file
vs.
setting it in your current environment
vs.
setting it in the user profile?
Thanks, Gil
If I could take one thing with me into the next world it would be my valid login to HP ITRC Forums
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2010 03:07 AM
тАО10-12-2010 03:07 AM
Re: /etc/ld.so.conf.d/oracle.conf
It depends on your requirements. If you want all the users on the system executing Oracle to pick up libraries from custom path, then you can put the changes in /etc/ld.so.conf.d/oracle.conf.
If used with sufficient care, LD_LIBRARY_PATH can be used to pick up libraries from custom path for specific processes or all processes executed by particular user. Please note that user programs can optionally clear the environment strings if they call exec(), in such case LD_LIBRARY_PATH will have no effect.
Placing the library path settings in user profile will be equivalent to setting the variable in user environment strings.
Regards
-Rajesh
If used with sufficient care, LD_LIBRARY_PATH can be used to pick up libraries from custom path for specific processes or all processes executed by particular user. Please note that user programs can optionally clear the environment strings if they call exec(), in such case LD_LIBRARY_PATH will have no effect.
Placing the library path settings in user profile will be equivalent to setting the variable in user environment strings.
Regards
-Rajesh
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP