On 2013-04-26 01:47 +0200, Andreas Beckmann wrote:

> Package: libpng12-dev
> Version: 1.2.49-1
> Severity: important
> Tags: patch
>
> Hi,
>
> libpng12-dev may cause ldconfig to play ping-pong with
> /usr/lib/<triplet>/libpng12.so.0 - that file is not shipped, but since
> it is the SONAME of the library shipped as
> /usr/lib/<triplet>/libpng12.so (and /usr/lib/<triplet>/libpng.so) 
> ldconfig will create the symlink
> /usr/lib/<triplet>/libpng12.so.0 -> libpng.so
> While this points to the correct file and the link is not really
> needed, this looks a bit strange.

For the record, this is #249122.

Apart from confusing piuparts due to the unowned file, are there any
real problems with the spurious symlink?

> I'm attaching a patch to switch the links to
> /usr/lib/<triplet>/libpng12.so -> libpng12.so.0 -> 
> /lib/<triplet>/libpng12.so.0
> that will prevent ldconfig from creating the missing SONAME link.
>
> I've also seen this link disappear during some experiments with MA:same
> package installations, although that should not happen ...
>
> Shipping the SONAME link in /usr/, too, will make the behavior
> deterministic and independent from the time ldconfig is run.

Cheers,
       Sven


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to