On 2015-10-25 21:25 +0100, Michael Biebl wrote:
> On Sun, 12 Jul 2015 14:40:16 +0200 Andreas Beckmann <[email protected]> wrote:
>
>> Patch attached.
>>
>> It's probably ok to ask for a jessie-ignore tag unless you can show that
>> this dangling link causes an actual problem.
>
> The patch looks incorrect to me, btw.
> The *.so.* files belong into /lib, the .so symlink into /usr/lib.
>
> So the current libjson-c package looks fine (and it's done this way in
> lot's of other packages).
Yes, only the symlinks in libjson0-dev seem to be problematic.
> Btw, can you still reproduce the issue? If so, what are the steps to
> reproduce them?
Install libjson0-dev. When I do this in a throwaway chroot, I get
(on i386):
,----
| # ls -l /usr/lib/i386-linux-gnu/libjson*.so*
| lrwxrwxrwx 1 root root 38 Apr 17 2014 /usr/lib/i386-linux-gnu/libjson-c.so
-> /lib/i386-linux-gnu/libjson-c.so.2.0.0
| lrwxrwxrwx 1 root root 10 Oct 25 21:28 /usr/lib/i386-linux-gnu/libjson-c.so.2
-> libjson.so
| lrwxrwxrwx 1 root root 12 Apr 17 2014 /usr/lib/i386-linux-gnu/libjson.so ->
libjson-c.so
| # dpkg -S /usr/lib/i386-linux-gnu/libjson*.so*
| libjson-c-dev:i386: /usr/lib/i386-linux-gnu/libjson-c.so
| dpkg-query: no path found matching pattern
/usr/lib/i386-linux-gnu/libjson-c.so.2
| libjson0-dev:i386: /usr/lib/i386-linux-gnu/libjson.so
`----
This is bug #249122 in ldconfig, if I'm not mistaken.
Cheers,
Sven