MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
PATH=$QTDIR/bin:/usr/lib/qt3/lib/
is the line that messed you up.
You set your path to be only 2 directories.
The path is set with : as the delimiter. It is parsed from left to right. When you run a command, the system looks in the first directoy, not found? then it looks in the second one specified, etc etc. If it can not find the command, it will say "Not found"
I am sure you can run /bin/ls and it will run fine.
If you just tyoped this, it should not be retained if you log off and on again. If you wrote it in a file that is read everytime you log in, that is anbother story.
You can always enter this in your .profile (.bash_profile in redhat)
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/sbin:/usr/sbin:/usr/local/sbin
Of course you may need to add or subract some directories off of this. Oh yeah, you can add your qt path in there just do not forget the : between the different directory structures.
If you make a change to your enviroment startup files (.profile or .bash_profile) whichever the case may be, you must log off and log back on, or source the file as such
In your home dir execute
. ./profile or . ./.bash_profile
It is probably best to make sure that PATH variable is exported.
In the same file look for a line that reads
export PATH
if it is not there, enter it in there.
I am not sure if Mandrake reads the .profile or the .bash_profile. Just see which one is in your directory
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.