On 2007-09-06, asherwolf wrote: > > 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)
Are you using "su" or "su -"? -- Chris F.A. Johnson <http://cfaj.freeshell.org> =================================================================== Author: Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)