- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- env statements
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
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
тАО06-27-2003 07:40 AM
тАО06-27-2003 07:40 AM
SHLIB_PATH=/opt/vertex20/lib
When I do this, my program still does not see files in this directory.
I'm wondering if I need to REBOOT THE system for changes to ENV to take place. Or if there is some procedure I must run to get ENV variables to become active. Thanks. for help
-bdp
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 07:42 AM
тАО06-27-2003 07:42 AM
Re: env statements
Is the variable actually set? Go into a shel and enter "env", look for the variable to confirm.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 07:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 07:44 AM
тАО06-27-2003 07:44 AM
Re: env statements
you have to check if the searching is enabled.
use
chatr
to see and
chatr +s
to enable searching
after that,
you have to simply re-load the env.
as your user in your homo
. ./.profile
or just logout/login
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 07:44 AM
тАО06-27-2003 07:44 AM
Re: env statements
You need to export the modified variable. You can do this in one line as:
# export SHLIB_PATH=/opt/vertex20/lib
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 07:46 AM
тАО06-27-2003 07:46 AM
Re: env statements
a) Place it in a profile script
b) Ensure that you include any existing contents of the SHLIB_PATH variable (Oracle uses this variable as well!) if it already has existing contents.
ie export SHLIB_PATH=$SHLIB_PATH:/opt/vertex20/lib
NB. No users were harmed during the coding of this script (more's the pity). Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 07:46 AM
тАО06-27-2003 07:46 AM
Re: env statements
ie,.
root:\SHLIB_PATH=/opt/vertex132/lib
Then when I type "env" It does show the change that I have made.
I'm just not sure if this change is in place for everyone, or is there some wierd thing going on here. Because the program can't find the files that are in that directory when
it runs.
Thanks for response.
-bdp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 07:49 AM
тАО06-27-2003 07:49 AM
Re: env statements
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 07:50 AM
тАО06-27-2003 07:50 AM
Re: env statements
The following command may be better...:
# export SHLIB_PATH=/opt/vertex20/lib:$SHLIB_PATH
in case there is already some value in SHLIB_PATH and your program needs to have access to more than one library paths.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2003 07:50 AM
тАО06-27-2003 07:50 AM
Re: env statements
If you made this in the workspace that you after try to run that's ok (for feature better to put in you enviroment files)
Check with the chatr
the library.
Caesar