Fedora Linux Support Community & Resources Center
Old 15th July 2009, 01:41 PM
beaker_ Offline
Registered User
Join Date: Nov 2008
Location: Canada
Posts: 2,570
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
Old 15th July 2009, 02:47 PM
giulix Offline
Join Date: Oct 2005
Location: CE(S)T
Posts: 3,203
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
echo $PATH
If you compare root's $PATH to that of a "normal" user on Unix, you'll usually notice a few differences...
Asus K55VD, i5 3230M - Productivity/Programming (F22)
Asus M5A99FX Pro R2.0, AMD FX 8350, Asus GTX760-DC2OC-2GD5, 2x4 GB Kingston HyperX Fury 1866 MHz DDR3 - Gaming (W10)
HP Proliant DL 360 G5 - Heavy lifting (CentOS 7.2)
Reply With Quote
Old 15th July 2009, 03:28 PM
beaker_ Offline
Registered User
Join Date: Nov 2008
Location: Canada
Posts: 2,570
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.

Reply With Quote

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 02:09 AM
Search path in KDE staham Using Fedora 3 15th January 2007 08: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: 18:21 (Monday, 30-05-2016)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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