[freetds] libreadline.so.4.1 is needed by freetds-o.61-2.i386.rpm

Craig Davison cd at securityfocus.com
Mon Jun 23 10:24:37 EDT 2003


On Thu, Jun 19, 2003 at 02:27:29PM +0200, Alf-Ivar Holm wrote:
> "Arun Bayya" <akbayy2 at uky.edu> writes:
> > My problem was that I failed to install freetds on RedHat 8 from the
> > RPMs. I encountered :
> > "error:Failed dependencies:
> > Libreadline.so.4.1 is needed by freetds-0.61-2"
> > This was in spite of the environment shown below -
> >
> > > # ls -l /usr/lib/libreadline*
> > > /usr/lib/libreadline.so.4.1 -> /usr/lib/libreadline.so.4.3
> > > -rwxr-xr-x    1 root     root       208488 Aug  7  2002
> > > /usr/lib/libreadline.so.4.3

Symlinking one version of a library to another is a really, really bad idea.
RPM takes care of library version dependencies for you, so you never have to do

> Whoever made the RPM seems to have some odd environment, or has
> another RPM called "Libreadline.so.4.1"!?  (I haven't tried
> freetds-0.61-2.rpm myself.)

Not an odd environment at all. Redhat ships with an RPM that provides
libreadline.so.4.1. Here's how you'd install freetds on RedHat 9:

rpm -ihv freetds-0.61-2.i386.rpm freetds-devel-0.61-2.i386.rpm

readline41-4.1-16.i386.rpm came right off the CD. In the future, if you're not
sure what RPM provides the file you're looking for, you can always look the
file up at rpmfind.net:


HTH! Maybe this should be in the FAQ (if it isn't already)?

Craig Davison

More information about the FreeTDS mailing list