1833873 Members
1910 Online
110063 Solutions
New Discussion

Re: SHLIB_PATH

 
SOLVED
Go to solution
Alex Lavrov
Regular Advisor

SHLIB_PATH

Hello,

I can't find where is $SHLIB_PATH is defined in HPUX11.11 ....
I need to change it for some of the users.

thanx for the help.
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: SHLIB_PATH

Check /etc/profile, that's where we set ours.


Pete

Pete
T G Manikandan
Honored Contributor

Re: SHLIB_PATH

check /etc/profile,.profile,.kshrc,.shrc if the users shell is sh/ksh

check /etc/csh.login,.login,.cshrc for c shell
G. Vrijhoeven
Honored Contributor
Solution

Re: SHLIB_PATH

Alex,

I am not sure (home) but could it be that the SHLIB_PATH is defined in /etc/default/profile. If you wish too change it for some users i would suggest setting the SHLIB_PATH in the .profile of .dtprofile. Depending on how those users login.

Gideon
Sanjay Kumar Suri
Honored Contributor

Re: SHLIB_PATH

Check one of the . files in the HOME directory of the users such as

.dbenv_bpchrprd.csh

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Elmar P. Kolkman
Honored Contributor

Re: SHLIB_PATH

Just put your additions in /etc/profile and it should work. If not defined, it will only search paths defined in the executable. If defined and the executable is correctly linked, it will use the environment variable to search. It could very well be it thus is not defined yet, using only the paths compiled in the executable.
Every problem has at least one solution. Only some solutions are harder to find.
Jean-Luc Oudart
Honored Contributor

Re: SHLIB_PATH

Our default are set in /etc/profile such as PATH, MANPATH, SHLIB_PATH
this way :
export SHLIB_PATH=`cat /etc/SHLIB_PATH`

Amend /etc/SHLIB_PATH accordingly.

If this is specific to some users/application, you may be wise by sourcing a shell script with specific environment variables for these users/applications.

Regards,
Jean-Luc
fiat lux