Fedora Linux Support Community & Resources Center
  #1  
Old 15th July 2009, 01:41 PM
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,349
search path (windows term, sorry)

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.
Reply With Quote
  #2  
Old 15th July 2009, 02:47 PM
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
They're quite different things: /etc/ld.so.conf.d/* is application specific, while any user's path depends from its environment, just like windoze (I mean the other way round, of course). To examine a user's $PATH issue
Code:
echo $PATH
If you compare root's $PATH to that of a "normal" user on Unix, you'll usually notice a few differences...
Reply With Quote
  #3  
Old 15th July 2009, 03:28 PM
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,349
Ok, after some reading & googling I think I see my error. After confirming my suspicion with echo $PATH, I need to remove my /usr & /usr/lib entries. Then check out /root/.bash_profile and /etc/profile.d.

thanks
Reply With Quote
Reply

Tags
path, search, term, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NetworkManager, resolv.conf, DNS search path rossgrady Servers & Networking 2 9th July 2008 03:39 AM
DNS search path lieilu Servers & Networking 3 8th January 2008 01:09 AM
Search path in KDE staham Using Fedora 3 15th January 2007 07:59 PM
Adding multiple domains to the DNS search path. prettyricky Servers & Networking 4 4th October 2005 06:19 PM
pkg-config search path alphonsebrown Using Fedora 4 20th September 2005 08:32 AM


Current GMT-time: 03:43 (Friday, 01-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat