pkgconfig problem on RHEL-5

Karel Volný kvolny at redhat.com
Mon Jan 19 18:55:22 CET 2009


Hi,

I'd like to ask ... I am trying to compile ffmpeg plugin for 
qmmp, but cmake fails to recognize the needed libraries:

... snip ...
-- checking for modules 'libavcodec;libavformat'
--   package 'libavcodec' not found
--   package 'libavformat' not found
... snip ...

The relevant CMakeLists.txt line is:

pkg_check_modules(FFMPEG libavcodec libavformat)

I've also tried to run pkg-config on commandline:

[root at dhcp-lab-227 rhel]# pkg-config libavcodec; echo $?
1
[root at dhcp-lab-227 rhel]# pkg-config libavformat; echo $?
1

The same commands return zeros if run on Fedora 10 (with 
pkgconfig version 0.23-3.fc10). The libavcodec.pc and 
libavformat.pc files have the same contents both on RHEL 
(ffmpeg-devel-0.4.9-0.50.20080908.el5) and Fedora 
(ffmpeg-devel-0.4.9-0.52.20080908.fc10).

I am a bit confused ... is it a bug? Is it just a version 
incompatibility? Any suggestions how to workaround it?

- TIA
K.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.rpmfusion.org/pipermail/rpmfusion-developers/attachments/20090119/d5d1c554/attachment.bin


More information about the rpmfusion-developers mailing list