Hide Forgot
Description of problem: freetype-config doesn't return the correct include paths when freetype-devel.i686 is installed without freetype-devel.x86_64 being installed. Version-Release number of selected component (if applicable): freetype-devel.2.4.4-4.fc15 How reproducible: At will Steps to Reproduce: 1. Ensure that freetype-devel is not installed. 2. yum install freetype-devel.i686 3. freetype-config --cflags Actual results: output of command in step 3 is: -I/freetype2 -I Expected results: output should be: -I/usr/include/freetype2 Additional info: Everything works fine once freetype-devel.x86_64 is also installed. So, on x86_64, I suppose freetype-devel.i686 should either work by itself, or pull the .x86_64 package in as a dependency.
Hi Anna, you just need to set $PKG_CONFIG_PATH variable appropriately (add "/usr/lib/pkgconfig/" there). freetype-config uses pkg-config internally which needs to know from where to get required data (these are in /usr/lib/pkgconfig/freetype2.pc for freetype-devel.i686). Since you are on x86_64 system, you need to specify that you want to use i686 version of the -devel package. I'm closing this as notabug. Regards Marek