Pkg-config doesn't find libmfx

Hi,
I'm trying to build ffmpeg with h264_qsv (QuickSync) support. In order to do that, I need libmfx. But pkg-config doesn't find the libmfx files, although they are present:
PKG_CONFIG_PATH is filled with the correct path:
[root@nuc FFmpeg]# echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig/
The libmfx files are there:
[root@nuc FFmpeg]# ls -l /usr/lib/pkgconfig/libmfx.*
-rw-r--r-- 1 root root 120284 Jun 20 19:25 /usr/lib/pkgconfig/libmfx.a
-rwxr-xr-x 1 root root 893 Jun 20 19:25 /usr/lib/pkgconfig/libmfx.la
-rw-r--r-- 1 root root 339 Jun 20 20:05 /usr/lib/pkgconfig/libmfx.pc
The libmfx.pc contents seems ok?
[root@nuc FFmpeg]# cat /usr/lib/pkgconfig/libmfx.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: libmfx
Description: Intel Media SDK Dispatched static library
Version: 2013
Requires:
Requires.private:
Conflicts:
Libs: -L${libdir} -lsupc++ ${libdir}/libmfx.a
Libs.private:
Cflags: -I${includedir} -I/media/downloads/opensource/SDK/include/
The header files are at the included in the SDK dir:
[root@nuc FFmpeg]# ls -l /media/downloads/opensource/SDK/include/
total 168
-rw-r--r-- 1 zao zao 4835 Jun 3 09:58 mfxastructures.h
-rw-r--r-- 1 zao zao 5479 Jun 3 09:58 mfxaudio++.h
-rw-r--r-- 1 zao zao 3493 Jun 3 10:02 mfxaudio.h
-rw-r--r-- 1 zao zao 4767 Jun 3 10:00 mfxcommon.h
-rw-r--r-- 1 zao zao 6306 Jun 3 09:58 mfxdefs.h
-rw-r--r-- 1 zao zao 2865 Jun 3 10:00 mfxenc.h
-rw-r--r-- 1 zao zao 2976 Jun 3 09:58 mfxjpeg.h
-rw-r--r-- 1 zao zao 2900 Jun 3 10:00 mfxla.h
-rw-r--r-- 1 zao zao 3048 Jun 3 09:58 mfxmvc.h
-rw-r--r-- 1 zao zao 2881 Jun 3 09:58 mfxpak.h
-rw-r--r-- 1 zao zao 28117 Jun 3 09:58 mfxplugin++.h
-rw-r--r-- 1 zao zao 11066 Jun 3 10:00 mfxplugin.h
-rw-r--r-- 1 zao zao 2647 Jun 3 09:58 mfxsession.h
-rw-r--r-- 1 zao zao 38541 Jun 3 10:00 mfxstructures.h
-rw-r--r-- 1 zao zao 10411 Jun 3 10:00 mfxvideo++.h
-rw-r--r-- 1 zao zao 6257 Jun 3 10:00 mfxvideo.h
-rw-r--r-- 1 zao zao 2690 Jun 3 09:58 mfxvp8.h
-rw-r--r-- 1 zao zao 1662 Jun 3 09:58 mfxvstructures.h
But configure cant't find the files:
[root@nuc FFmpeg]# git pull
Already up-to-date.
[root@nuc FFmpeg]# ./configure --enable-libmfx --enable-nonfree --enable-iconv --arch=x86 --disable-debug --disable-shared --disable-doc --disable-w32threads --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avfilter --enable-bzlib --enable-zlib --enable-librtmp --enable-gnutls --enable-avisynth --enable-frei0r --enable-filter=frei0r --enable-libbluray --enable-libcaca --enable-libopenjpeg --enable-fontconfig --enable-libfreetype --enable-libass --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libsoxr --enable-libtwolame --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvorbis --enable-libvo-aacenc --enable-libopus --enable-libvidstab --enable-libvpx --enable-libwavpack --enable-libxavs --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi
ERROR: libmfx not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
Sorry for being new at this, but I really want to learn
Thanks in advance, zAo

Did a restart from scratch: removed all *mfx* files from /usr/*, removed all build files and downloaded them again. Apart from make install, everything is run as my desktop user.
[zao@nuc mfx_dispatch]$ mkdir build && cd build
[zao@nuc build]$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
-- The C compiler identification is GNU 5.1.0
-- The CXX compiler identification is GNU 5.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Intel Media SDK is here: /media/downloads/git/mfx_dispatch
-- Configuring done
-- Generating done
-- Build files have been written to: /media/downloads/git/mfx_dispatch/build
Start build
[zao@nuc build]$ make -j
Scanning dependencies of target mfx
[ 8%] [ 16%] [ 25%] [ 50%] [ 41%] [100%] [ 41%] [ 66%] [ 66%] [ 75%] [ 83%] [ 91%] Building CXX object CMakeFiles/mfx.dir/src/mfx_dxva2_device.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/main.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/mfx_library_iterator.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/mfx_library_iterator_linux.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/mfx_critical_section.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/mfx_load_dll.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/mfx_dispatcher_log.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/mfx_function_table.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/mfx_critical_section_linux.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/mfx_load_dll_linux.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/mfx_dispatcher.cpp.o
Building CXX object CMakeFiles/mfx.dir/src/mfx_win_reg_key.cpp.o
Linking CXX static library libmfx.a
[100%] Built target mfx
Install
[zao@nuc build]$ sudo make install
[100%] Built target mfx
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/include/mfxjpeg.h
-- Installing: /usr/local/include/mfxplugin++.h
-- Installing: /usr/local/include/mfxastructures.h
-- Installing: /usr/local/include/mfxla.h
-- Installing: /usr/local/include/mfxenc.h
-- Installing: /usr/local/include/mfxcommon.h
-- Installing: /usr/local/include/mfxplugin.h
-- Installing: /usr/local/include/mfxvp8.h
-- Installing: /usr/local/include/mfxdefs.h
-- Installing: /usr/local/include/mfxmvc.h
-- Installing: /usr/local/include/mfxstructures.h
-- Installing: /usr/local/include/mfxvideo.h
-- Installing: /usr/local/include/mfxvstructures.h
-- Installing: /usr/local/include/mfxaudio++.h
-- Installing: /usr/local/include/mfxpak.h
-- Installing: /usr/local/include/mfxvideo++.h
-- Installing: /usr/local/include/mfxaudio.h
-- Installing: /usr/local/include/mfxsession.h
-- Installing: /usr/local/lib/pkgconfig/libmfx.pc
-- Installing: /usr/local/lib/libmfx.a
pkg-config doesn’t find the right files:
[zao@nuc build]$ pkg-config --list-all| grep mfx
[zao@nuc build]$ echo $?
1
I know that building via PKGBUILD is much cleaner, but -for me- it add additional levels of complexity.
Any tips or ideas? Thanks for your patience

Similar Messages

  • I keep getting "pkg-config: could not find or read package"

    trying to install firefox-branded using yaourt
    [anthony@arch yaourt]$ yaourt -S firefox-branded
    ==> Downloading firefox-branded PKGBUILD from AUR...
    bsdtar: Removing leading '/' from member names
    x firefox-safe.desktop
    x browser-defaulturls.patch
    x PKGBUILD
    x firefox.install
    x mozilla-firefox-1.0-lang.patch
    x firefox.desktop
    x firefox-version.patch
    x firefox-agent.patch
    x mozconfig
    Comment by: wantilles on Wed, 21 Jul 2010 12:34:35 +0000
    Upstrem update to 3.6.7.
    Comment by: geo on Wed, 21 Jul 2010 12:46:53 +0000
    As reliable as ever, thanks wantilles :)
    Comment by: wantilles on Wed, 21 Jul 2010 16:27:56 +0000
    @ ropez fzerorubigd tschertel
    I won't answer the same questions twice.
    See my comment on Mon, 28 Jun 2010 15:51:20 +0000.
    Comment by: fzerorubigd on Wed, 21 Jul 2010 18:18:22 +0000
    :) I just want to report this is out of date and why I flag this as out of date. nothing else.
    Comment by: wantilles on Sat, 24 Jul 2010 11:36:22 +0000
    Upstream update to 3.6.8.
    Comment by: fzerorubigd on Wed, 11 Aug 2010 17:56:44 +0000
    Its a good work, but can you add default dictionary to this too? I mean just add a dictionaries folder inside installation folder and copy to en-US.dic and en-US.aff from mozilla-1.9.2/extensions/spellcheck/locales/en-US/hunspell folder?
    Thanks for your great work.
    First Submitted: Wed, 25 Jun 2008 06:41:54 +0000
    firefox-branded 3.6.8-1 : Standalone web browser from mozilla.org
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> firefox-branded dependencies:
    - desktop-file-utils (already installed)
    - zip (already installed)
    - diffutils (already installed)
    - libgnomeui>=2.24.1 (already installed)
    - python (already installed)
    - wireless_tools (already installed)
    - xulrunner=1.9.2.8 (building from AUR)
    - pkg-config (building from AUR)
    ==> Edit firefox.install ? [Y/n] ("A" to abort)
    ==> -------------------------------------------
    ==> n
    ==> Continue building firefox-branded ? [Y/n]
    ==> -----------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for firefox-branded:
    Password:
    error: 'pkg-config': could not find or read package
    ==> WARNING: Dependencies have been installed before the failure
    ==> Restart building firefox-branded ? [y/N]
    ==> ----------------------------------------
    ==>
    ==> WARNING: Following packages have not been installed:
    firefox-branded
    I have pkg-config installed (pacman -S base-devel) and ran pacman -Syyu after.

    ==> Making package: firefox-branded 3.6.8-1 (Tue Aug 24 03:59:02 PDT 2010)
    ==> Checking Runtime Dependencies...
    ==> Missing Dependencies:
    -> xulrunner=1.9.2.8
    ==> Checking Buildtime Dependencies...
    ==> Missing Dependencies:
    -> pkg-config
    ==> ERROR: Could not resolve all dependencies.
    thats what I get with makepkg -i

  • Libpng and pkg-config

    Hi all,
    I'm working on compiling a couple components on my mac. I've hand compiled libpng for use with the cairo library. I'm finding that, for some odd reason, pkg-config doesn't have libpng in its search path.
    Any ideas on getting this working?
    Thank you for your help in advance!
    Sincerely,
    Jason
    Message was edited by: Jason Saumur

    I'm not sure what you might be missing when building this by hand, but I just use the fink package manager, and it will install stuff like cairo with all the required supporting libraries like libpng, etc.
    http://www.finkproject.org/
    there are some other options, like MacPorts or DarwinPorts also.

  • Pkg-config troubles

    I need to install Mono, but I can't without pkg-config.  The problem is, I can't install pkg-config.  It configures well, but the 'make' is messy with all sorts of warnings about null pointers, and 'make install' doesn't do a thing.
    What might be the problem?

    ac3raven wrote:I need to install Mono, but I can't without pkg-config.
    I guess you're trying to build it manually, but why?  You can just use pacman -S mono to get mono.
    ac3raven wrote:The problem is, I can't install pkg-config.  It configures well, but the 'make' is messy with all sorts of warnings about null pointers, and 'make install' doesn't do a thing.
    You don't even need it if you just use pacman to install mono, but you just use pacman -S pkgconfig or pacman -S base-devel if you plan to build things manually.
    Last edited by tdy (2009-09-28 01:45:09)

  • IMovie HD 6 install doesn't find iLife '08

    I want to install iMovie HD 6.0.4 for iLife '08 but when I try to use the install pkg, it does not find that I have iLife '08 (which was preinstalled). Any way to make it recognize that I have it?

    Never getting an answer to this question, I went ahead and purchased *iLife '08*. As expected the installer will not and did not install *iMovie 7* on a G4. However, I'm happy to report that the downloaded *iMove HD 6* will install after *iLife '08* has been installed even if it doesn't include *iMovie 7*.

  • Admin utility doesn't find airport

    Here's my setup. I'm using the Airport as a wireless client to connect to my stereo so I can stream music from iTunes. I have one PC connected to the network by Ethernet to the router. I have another PC connected to the network by wireless. On the Ethernet PC the Airport admin utility doesn't find the Airport automatically. But I can enter the IP address and password for the Airport and it is found and I can change the settings. But iTunes on the Ethernet PC does not find the remote speakers. I have the option turned on to look for remote speakers in iTunes. And the Airport is working because iTunes on the wireless PC finds the remote speakers and streams music just fine. I've also opened up ports 5353, 5298, and 5009 on the PC's firewall. Why can't iTunes find the remote speakers on the Ethernet PC?
      Windows XP  

    Thanks for the reply. I should have explained my network setup better. I have a Linksys BEFSR41 router that the Ethernet PC is plugged into. There is a Linksys WAP54G access point plugged into the router. I have two PCs connected to the network through the wireless access point. iTunes on both of those PCs can find the Airport and share their libraries. iTunes on the PC connected directly to the router cannot find the Airport or the other libraries. Although the network connection to the Airport works because I can enter the IP address of the Airport in the admin utility and the config utility works.
    I also tried connecting a laptop that normally connects wirelessly directly to the router. And iTunes could not find the Airport. So I'm guessing it is something with the router or that the Airport doesn't work with wired clients. I don't think it is the firewall because I have the same firewall with the same settings on all 3 PCs.

  • Having trouble getting waf to create a pc file for pkg-config

    Hello Arch Linux forums!
    After successfully building and installing some monome tools on my debian machine, I thought I'd migrate over to developing things on arch linux.
    However, I'm having trouble building my project because pkg-config cannot find libmonome after a fresh build.  It complains that there's no libmonome.pc in my $PKG_CONFIG_PATH.  Sure enough, libmonome.pc does not exist, while it does on my debian machine.
    I suspect it's some sort of permissions / path issue that I need to account for, but I'm unaware as to where to start looking.  Has anyone else used waf and encountered similar issues?
    Thanks in advance!

    Well the configuration file you chose does not allow users created in NetWeaver to be created in the LDAP.  That's why it's a "readonly" configuration.  I would guess that you need a custom configuration file specifically for open ldap.
    This should help get you started on a custom configuration file:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/14d43f2dd44821e10000000a1550b0/frameset.htm
    Then again, if the only problem with the .XML file you chose is that you can't write to the LDAP, give the dataSourceConfiguration_ads_writeable_db.xml configuration file a shot.

  • My ipad doesn't find my printer....

    How do I make my hp 3510 discoverable to my ipad? The wireless printing works from my laptop which has the same wifi settings, but the ipad cannot find the printer????

    Hi Kiwisteve77,
    I understand the Ipad doesn't find the printer.
    Thank you for your reply.
    I will be happy to help you with this.
    Try turning the wi-fi off and on again on the Ipad.
    If that doesn't work turn the Ipad off and on again.
    Check to make sure it is connected to the proper network.
    Power cycle the router, Ipad and the printer and try it again if you are still having issues.
    I have provided a document for How to Use Apple's AirPrint Over a Wireless Network. Go to the section What if a 'No AirPrint Printers Found' message displays on my Apple device?
    Hope this helps.
    Thank you for posting on the HP Forums. Have a great day!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • When I launch I photo it wants me to choose a library but it doesn't find one which is impossible, because i still have no storage. before i can clean up i want to back up them. how can i find my library?

    When I launch I photo it wants me to choose a library but it doesn't find one which is impossible, because i still have no storage. before i can clean up i want to back up them. how can i find my library?

    You may very well have damaged your library - or even your system by not having adaquate storage available
    And never select all of the pitcture and move them - that will destroy your library - the iPhotolibrary is a SQLite database and must always be kept intact as a single entity -
    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    LN

  • ICal search doesn't find anything

    when I test this by creating a future event with a particular word in it, then return to today and search for that word in the little "search" box at top right, it doesn't find that word.
    Why not?

    I have also had long standing problems of not being able to search for calendar events, either from within iCal or Spotlight or using mdfind.
    None of the suggested solutions worked for me (removing Calendar Cache file, adding and removing folders or drives to the privacy section of Spotlight to re-index, or running mdimport ~/Library/Calendars.
    One clue was that mdimport -d2 ~/Library/Calendars would not even look at the individual .ics files within any .calendar/Events directory (no output). I suspected that this was due to LaunchServices not associating these files properly with iCal. My system had previously been upgraded all the way from 10.0 through 10.6.
    What finally worked for me was the following, using the Terminal, rebuilding completely the LaunchServices database:
    rm /Library/Caches/com.apple.LaunchServices*.csstore
    *defaults delete com.apple.LaunchServices*
    *sudo /System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServi ces.framework/Support/lsregister -kill*
    *sudo /System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServi ces.framework/Support/lsregister -R -domain local -domain system -domain user*
    (note the capital -R in the previous line.)
    This step will take a few minutes to complete, with a message about I/O throttleing
    reboot (not sure if that is necessary)
    *mdimport -d2 ~/Library/Calendars*
    This last command should now show the successful indexing of all calendar events.
    After this search finally worked again for me!
    Regards,
    Heiko

  • Search engine doesn't find vcards

    The search engine in Address book doesn't find cards that exist in my ALL. They were cards imported via Time Machine. Any way I can get AB to index it's content ?

    One week later, I'm still hoping (praying ?) for a solution...

  • Find palette doesn't find the IPCT category  field

    I have all my pictures by categories and suplemental categories. The "find" tool doesn't find anything if for example I type ARC (architecture), no matter if I select containing, containing all, starting or all metadata, all, etc... It seems that it doesn't search in some IPCT fields, at least in the category and suplemental category.

    You are right. "find" will find IPTC entries in caption, say, but not in category. I guess it's like EXIF, where it's only make, model, serial number, artist, and software.
    - Pierre

  • The "Search" function box doesn't find things that are there! Why?!

    The "Search" function box doesn't find things that are there! Why? Eg: It doesnt show all my Sent and Received emails, but it will find an email that I half wrote and deleted. Unsure why or how to explain more fully.
    I also don't understand if I type in "James email" or "J" into the search box and all the J / James stuff appears but it doesn't show the emails I know have been sent and I know are somewhere because I rang "James" up to check, but the search box shows random thing I am NOT looking for, even if I type in fully what I am looking for and test it by typing in full titles of things.
    It also doesn't store all my sent emails in "Sent" box. Confused! I'm not sure if the "Search" box just isn't up to the job or if it is broken / i'm doing something wrong? Maybe the email address I use isn't set up properly?

    This can happen sometimes if the cache is not cleared correctly when items are not deleted from your device.
    The only solution to this is to do a restore to clean out the cache file.

  • Satellite L855D doesn't find my CD/DVD drive

    Hello!
    I don't know what has happened to my computer but it doesn't find CD/DVD drive anymore.
    I guess I may have deleted some necessary drive but not on purpose anyway.
    Is there any way to recover it?
    I have tried RmvFltrs which I found from some Toshiba's tech support site via Google search but it didn't help.
    It stated that it worked but my computer tells me the installation couldn't be done.
    I'm not in a desperate need of the drive to work, I'm just wondering whether it is possible to make it work somehow. So if someone could help me with this I'd be more than glad.
    Sincerely,
    Joonas

    I mean that it isn't shown in "My Computer" anymore or if I try to install something from a CD it doesn't work since the drive doesn't work.
    I can find it from device manager yes but it gives me this "code 52" and says the digital signature cannot be verified. There's this yellow triangle with an exclamation point in it too. Does this help at all?

  • TS3276 The Finder doesn't find ~/Library/Mail, or even "library". I need to do some experimenting to get my mail back and want to back up but can't even find a file with my messages in it.

    Trying to save my email prior to a wave of experimentation to get email working again but finder doesn't find "library". Has the library been omitted from Mountain Lion?

    Go to your Finder "Go" menu hold the option key to choose "Library".
    After that you can drag it to your sidebar for easy access.

Maybe you are looking for

  • Ipod Nano G5 connecting to windows xp sp3

    I have read some of the solutions about this problem and they have got me closer to fixing my problem. I need to know what to do after putting nano g5 in disc mode and (of, course opening iTunes v9.0.2) and reconnecting it to the usb 2.0 port? What i

  • Using select-option in webdynpro for ABAP where I have two separate pages

    Hi Experts,          I have a requirement where I have two pages. The first page is a selection screen that contains 2 select-options to select carrid and connid. There is also a button 'Submit'. The second page contains a ALV grid output based on th

  • Cannot Assign Archive and Retention Policies in Outlook 2010

    We are having problems figuring out how we enable Archiving and Retention tags in Outlook.  We have a new Exchange 2010 server with an Enterprise license key. We have run Microsoft Office professional plus 2010 on all of our clients (licensed through

  • Do you take Charges on the itunes ID creation?

    I jst create this new iTunes ID jst to get some application for the Iphone . I verified my Visa Card , i found almost 0.5$ away . isn't the creation of the ID for free? And if yes , why it's not motioned?

  • Page blanking while loading

    I have a web page with an activex control on it. While the applet loads, the page blanks several times before the applet is completely loaded. Is there any way to load the page and have it stay on constantly while the applet loads?