Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-06-2007, 08:36 PM   #1
LQ Newbie
Registered: Jun 2007
Posts: 19

Rep: Reputation: 0
Thumbs down why lftp command run failed when user isn't root, but ok when logining as root

When I login as common user andy and run lftp, the following error message come out.
[andy@localhost tools]$ lftp
lftp: /usr/local/gcc-3.4.0/lib/ version `GCC_4.2.0' not found (required by /usr/lib/
lftp: /usr/local/gcc-3.4.0/lib/ version `GCC_4.2.0' not found (required by /usr/lib/

but when logining as root, it will run ok.

I have installed three version gcc,which information is below:

[andy@localhost tools]$ ll /usr/bin/gcc*
-rwxr-xr-x 2 root root 197448 2006-10-11 21:49 /usr/bin/gcc
lrwxrwxrwx 1 root root 28 2007-06-01 15:20 /usr/bin/gcc34 -> /usr/local/gcc-3.4.0/bin/gcc
lrwxrwxrwx 1 root root 28 2007-05-18 11:09 /usr/bin/gcc404 -> /usr/local/gcc-4.0.4/bin/gcc
-rwxr-xr-x 1 root root 2018 2006-07-18 14:27 /usr/bin/gccmakedep

Any body who can help me will be appreciated, thanks in advance.

Or any further information needed to solve it?


as, command, failed, isnt, lftp, root, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run root command having normal user permission ravi.patil Linux - Newbie 7 05-21-2006 02:21 PM
Logining as root browncow Ubuntu 12 05-25-2005 06:40 PM
Hi, How to view user and root run command on linux? dEMax Linux - General 1 09-12-2003 04:22 AM
root and user password failed sarah_777 Linux - General 1 04-29-2002 10:46 PM
Is their a way to run a command as root..or another user.. in php BaerRS Programming 2 04-25-2002 02:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration