Philip Ashmore wrote:

> It works in a schroot I set up that uses only the stock Squeeze repos,
> so to me it looks like an ld/automake problem.

Not all behavior changes are bugs. :)  As mentioned before, the
default in ld changed to --no-copy-dt-needed-entries for wheezy.

> I'm pretty sure that it should be following the static-link model
> for the .la files and
> adding the shlibs dependants to the link step.

Why would libtool follow the static-link model when linking to a DSO?
See <http://bugs.debian.org/191425>.  If you disagree with the
reasoning mentioned in that bug and the bugs it is merged with, that
would be a libtool (behavior or documentation) bug.

If you disagree with --no-copy-dt-needed-entries being the default
behavior for ld, I don't know what to tell you.  Maybe you could
install a wrapper that passes --copy-dt-needed-entries, though that
won't help other Debian or Fedora users build your software.  The
rationale for the change is well documented elsewhere.

Maybe binutils should gain a NEWS.Debian.gz file explaining this to
help people upgrading.

As for the original use case that motivates this: perhaps making
/usr/lib/libtreedb.so a linker script would work for you.  For
example:

        /* GNU ld script */
        INPUT(-llibtreedb-0.9-bare)
        INPUT(-lv3c-1.8)

Sorry to be the bearer of bad news, and hope that helps.

Regards,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to