Bug#622931: libav: pkg-config files implies possible static linkage

Reinhard Tartler siretart at tauware.de
Sun Apr 17 07:33:41 UTC 2011

tags 622931 help

On Fri, Apr 15, 2011 at 23:48:06 (CEST), Carl Fürstenberg wrote:

> Package: libav
> Severity: minor
> Doing an `pkg-config --static libavcodec --libs` results in following
> dependices:
> -pthread -lavcodec -ldl -lX11 -lXext -lXfixes -ljack -lasound -ldc1394 
> -lraw1394 -lxvidcore -lx264 -lvpx -lvorbisenc -lvorbis -ltheoraenc 
> -ltheoradec -logg -lspeex -lschroedinger-1.0 -lpthread -lorc-0.4 -lrtmp 
> -lgnutls -lopenjpeg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lgsm 
> -lfaac -ldirac_encoder -ldirac_decoder -lstdc++ -lva -lm -lbz2 -lz -lgcrypt 
> -lavcore -lavutil 
> But libva-dev and libgpg-error-dev (dep via libgcrypt, which also isn't given) 
> doesn't provide static versions.
> This might be outside the area provided by debian packages, but might be
> worth looking into.

it rather seems that pkg-config does not provide a way to declare that a
library does not support static linking at all. I've checked that libva
simply doesn't support building static libraries in the first place, so
I've tried to edit the pkg-config file. However, after reading the
pkg-config documentation, I haven't found the right syntax to express

Can someone please help me out here?

Reinhard Tartler, KeyID 945348A4

More information about the pkg-multimedia-maintainers mailing list