[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help: disabling relinking stupidity in libtool



Ari Pollak <ari@debian.org> wrote:
> [ Please CC me on all replies ]

I've set Mail-Followup-To.

> I'm the current maintainer of the gimp1.3 package. libgimp1.3 contains 
> more than a few libraries, most of which contain interdependencies to 
> other libraries in the same package. This causes a problem as far as 
> interoperation between libtool & dpkg-shlibdeps goes - when libtool 
> installs the libraries, it relinks them incorrectly so that libraries in 
> /usr/lib get used before the freshly built libraries contained in the 
> package itself. So what ends up happening is a bunch of mismatched 
> dependencies in the installed .so:

> $ ldd debian/libgimp1.3/usr/lib/libgimpui-1.3.so.15
>         libgimp-1.3.so.14 => /usr/lib/libgimp-1.3.so.14 (0x40022000)
>         libgimpwidgets-1.3.so.14 => /usr/lib/libgimpwidgets-1.3.so.14 
> (0x40039000)
>         libgimpbase-1.3.so.15 => not found
[...]

<Silly question>
Are you sure that something is relinked on installation, this
ldd-output alone does not justify this assumption - of course ldd has
no idea that it should search in debian/libgimp1.3/usr/lib/, it will
always use the standard searchpatch.

/This/ problem can be solved by using the '-l...' option for
dpkg-shlibdeps (or dh_shlibdeps)
</Silly question>
             cu andreas



Reply to: