bash root ~/.bash_profile quirk

From:

asherwolf

Subject:

bash root ~/.bash_profile quirk

Date:

Wed, 5 Sep 2007 21:14:03 -0700 (PDT)

I have the following in my root ~/.bash_profile:
PATH=$PATH:$HOME/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/BerkeleyDB.4.6/lib:/usr/local/apr/lib:/usr/lib/httpd/modules
LD_RUN_PATH=$LD_RUN_PATH:/usr/local/lib:/usr/local/BerkeleyDB.4.6/lib:/usr/local/apr/lib:/usr/lib/httpd/modules
PKG_CONFIG_PATH=$PKG_CONFIG:/usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
export PATH
export LD_LIBRARY_PATH
export LD_RUN_PATH
export PKG_CONFIG_PATH
BUT....
When I use su to log into root, PATH is there, LD_RUN_PATH is there, and
PKG_CONFIG_PATH is there, but not LD_LIBRARY_PATH (which makes some of my
programs not cooperate)
Is there something I'm missing? Why would an environment variable not show
up?
Maybe I'm blind.
Asher
--
View this message in context:
http://www.nabble.com/bash-root-%7E-.bash_profile-quirk-tf4389588.html#a12515328
Sent from the Gnu - Bash mailing list archive at Nabble.com.