Hi!

On Mon, 2009-12-14 at 15:25:07 -0800, Lei Zhang wrote:
> Package: libbz2-dev
> Version: 1.0.5-3
> Severity: normal

> On both Debian and Ubuntu, /usr/lib/libbz2.so currently links to
> /lib/libbz2.so.1.0. As a result, any program that links against -lbz2
> on a Debian machine needs libbz2.so.1.0. This makes it hard to build
> a binary that works on RPM distributions, which do not provide
> libbz2.so.1.0.

The reason the libbz2.so symlink points to libbz2.so.1.0 is because
that's the SONAME of the shared library. Also the symlink only tells
ld which file to use when linking, but it's the SONAME which gets
recorded as the dependency information in the linked binary (the
NEEDED values, as seen with “objdump -p” for example).

So doing what you request would not change much. But changing the
SONAME would, but then I think that'd be wrong, as it would diverge
from the SONAME chosen by upstream for the library (as can be seen in
Makefile-libbz2_so which Debian is following in the patched Makefile).

So I think the bug here is in those rpm based distributions, for
diverging from upstream. I'll let the mainatiners close the bug if
they agree.

regards,
guillem



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