search path (windows term, sorry)

view full story

http://forums.fedoraforum.org – I've setup dimdim (opensource, centos 5.3) and noticed yum & rpm commands fail when executed as root because it uses librpmio from openoffice3 instead of /usr/lib (I'm running from memory so I may have misstyped). But sudo doesn't have this problem. How can root's search path be different, especially after I state /usr & /usr/lib at the top of /etc/ld.so.conf. I appologies if you discover a typo, I've just walked away from it and running off memory. (HowTos)