[th/rpm] R: libtool(*.la) - good or bad

Tomasz Trojanowski tomek at uninet.com.pl
Sun Nov 26 23:48:48 CET 2006


On Sun, 2006-11-26 at 23:26 +0100, Arkadiusz Miskiewicz wrote:
> On Sunday 26 November 2006 22:57, Tomasz Trojanowski wrote:
> 
> > > > --- libtooldeps.sh.orig 2006-11-26 00:16:19 +0100
> > > > +++ libtooldeps.sh      2006-11-26 22:06:56 +0100
> > > > @@ -30,6 +30,7 @@
> > > >             do
> > > >                 case "$dep" in
> > > >                 /*.la)
> > > > +                   $dep = `readlink -f $dep`
> > > >                     echo "libtool($dep)"
> > > >                     ;;
> > > >                 esac
> > >
> > > That won't work.
> >
> > Will. Ie. some package R: libtool(/usr/lib/libdb.la), with this patch
> > will be converted to R: libtool(/usr/lib/libdb-4.5.la), which is
> > provided by db4.5-devel
> 
> What happen if there will be new db4.6? You will need to rebuild things again 
> to get libtool(libdb4.6.la) which wouldn't be required if the dep be 
> libtoo(libdb.la).

foo package requires libdb-4.5.so (not libdb.so), so IMO foo-devel
should require libtool(/usr/lib/libdb-4.5.la) not
libtool(/usr/lib/libdb.la).

For libdb-4.6 you must rebuild foo because of soname change.

Tomek




More information about the pld-devel-en mailing list