1833053 Members
2287 Online
110049 Solutions
New Discussion

setting oracle profile

 
Vincent_5
Super Advisor

setting oracle profile

Hi Guys,
Can anyone advice how can I set the LD_LIBRARY_PATh into the oracle user's profile. I have check whenI su - oracle pwd show /home/oracle . But when I do a vi.profile the file is not found, I also try doing a vi .login find not found too But when I run command env I can see the $ORACLE_HOME=/home/oracle being set hardcode . How can I do the same for LD_LIBRARY_PATh and which file should I modify???

Kindly help and advice???
Oracle version 10.2

Regards
Vincent
nothing is better than to know more
3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: setting oracle profile

Marvin Strong
Honored Contributor

Re: setting oracle profile

create a .profile in oracles home directory.

add the line

export LD_LIBRARY_PATH=

Marcel Boogert_1
Trusted Contributor

Re: setting oracle profile

Create or edit your .profile and add the following line:

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib

MB.