Bug#512466: marked as done (libavcodec52: Undefined symbol av_lfg_init)

Reinhard Tartler siretart at tauware.de
Sun Jan 25 09:49:13 UTC 2009


Loïc Minier <lool at dooz.org> writes:

> On Fri, Jan 23, 2009, Fabian Greffrath wrote:
>> - By introducing an shlibs.local file in the ffmpeg Debian package we  
>> make sure that the ffmpeg libraries only depend on other ffmpeg  
>> libraries that have the same binary:Version. External packages that are 
>> built against these ffmpeg libraries are not affected.
>
>  I'd rather not use a shlibs.local file; I used to do this in my
>  packages (and still do in glib gtk etc.), but it's actually a hack.

what problems do arise due to this hack?

>  I know of two ways to avoid this:
>  - simply list stricted Depends in the control file, dpkg-gencontrol
>    will see multiple dependencies on the same lib and will factor them

as you indicate below, this makes backports more complicated. I believe
the shlibs.local solution is more robust when having them in other
repositories like ubuntu, plf or debian-multimedia.

>  - or if you care about backports and lintian warnings and want to avoid
>    the double dep, use dpkg-shlibdeps -x flag to avoid the deps between
>    ffmpeg packages (simply -x all packages) and again set strict Depends
>    in control

I don't see how this is less of a hack as a shlibs.local file. Can you
please elaborate?

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the pkg-multimedia-maintainers mailing list