Red Hat Bugzilla – Bug 14491
FTP client dies with message "error in loading shared libraries: ftp: undefined symbol: fstat"
Last modified: 2008-05-01 11:37:56 EDT
FTP client dies with error message "ftp: error in loading shared libraries: ftp: undefined symbol: fstat" when giving an interactive command to the
client (dir, get etc.). Odd thing here is that it doesn't die if the client is invoked by pftp command. Setting the client to passive mode when
invoked by ftp doesn't help. I have all applicable updated packages installed including the 2.2.16 kernel. If I remember correctly the problem first
appeared after I switched to 2.2.16 kernel. I have an another machine with similar configuration which doesn't have this problem. Both machines
were updated to 6.2 from 6.0.
Here's a log of what happens:
root@mail /root]# ftp -d ftp.funet.fi
Connected to ftp.funet.fi.
220-Welcome to the FUNET archive, Please login as nonymous' with
220-your E-mail address as the password to access the archive.
220-See the README file for more information about this archive.
220- All anonymous transfers are logged with your host name and whatever
220- entered for the password. If you don't like this policy, disconnect
220-THIS is a new four processor SUN 450/4GB/600+GB system under
220-Please mail to firstname.lastname@example.org in case of problems
220-ftp.funet.fi FTP server (Version 4.1486 email@example.com) ready.
220-There are 26 (max 300) archive users in your class at the moment.
220-Assuming 'login anonymous', other userids do vary.)
220-Local time is Fri Jul 21 20:04:38 2000 EET DST
220 You can do "get README" even without logging in!
---> AUTH GSSAPI
500 'AUTH GSSAPI': command not understood.
---> AUTH KERBEROS_V4
500 'AUTH KERBEROS_V4': command not understood.
KERBEROS_V4 rejected as an authentication type
Name (ftp.funet.fi:root): ftp
---> USER ftp
331 Guest login ok, give your E-mail address for password.
---> PASS XXXX
230-Intermediate replies disabled. Some information may get lost.
215 UNIX Type: L8
Remote system type is UNIX.
Using binary mode to transfer files.
Passive mode on.
227 Entering Passive Mode (193,166,0,148,161,89)
150 Opening ASCII mode data connection for .
ftp: error in loading shared libraries: ftp: undefined symbol: fstat
Well, it turned out that I had forgoten to update the krb5-libs package when I updated the other krb5 packages. So updating to krb5-libs-1.1.1-21.i386.rpm
resolved the problem, therefore NOTABUG.