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

Alf-Ivar Holm alfh+devnull at ifi.uio.no
Wed Jun 25 07:18:32 EDT 2003


Craig Davison <cd at securityfocus.com> writes:

> 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"
      ^
Note: This is an uppercase 'l'.

> > > 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 this.

Indeed.

> > 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. [...] 
  ^
Note: This is a lowercase 'l'.  

If the error message (above) is quoted correctly, the dependecy in
freetds-0.61-2 has a typo: the 'L' should have been 'l'.

So, I agree, the environment may not be odd, but the RPM seems to have
an error in its dependency.

> 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

For RedHat 8 this is readline41-4.1-14.i386.rpm, which may be found at
the place you mentioned.

        Affi



More information about the FreeTDS mailing list