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 172.21.14.13
lftp: /usr/local/gcc-3.4.0/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/liblftp-jobs.so.0)
lftp: /usr/local/gcc-3.4.0/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/liblftp-tasks.so.0)
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?