On a clean install of 2004.3 AMD64, I can not emerge gtk+-2.6.2. Portage is up-to-date as of time of writing this bug. Error: checking for freetype-config... /usr/bin/freetype-config checking For sufficiently new FreeType (at least 2.0.1)... yes configure: error: Xft Pango backend is required for x11 target Pango is installed: pango-1.8.0 xorg-x11 is installed: xorg-x11-6.8.2 I will attach the config.log
Created attachment 51468 [details] config.log of error
pango is built without xft backend for some reason, find out why that is.
PKG_CONFIG_PATH is probably set to non 64 bit lib. running the following should fix this: PKG_CONFIG_PATH="/usr/lib64/pkgconfig" export PKG_CONFIG_PATH also see http://forums.gentoo.org/viewtopic-t-264359-start-0-postdays-0-postorder-asc-highlight-pango+xft+backend.html
arch specific libdir stuff then.
I had this problem too. Why isn't PKG_CONFIG_PATH set in the first place? I added PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/lib64/pkgconfig" to my /etc/env.d/00basic to make it work.
I think the main problem here is when /usr/lib64 is a directory and not a symlink to /usr/lib. I moved everything over from /usr/lib64 to /usr/lib, removed /usr/lib64 and symlinked it to /usr/lib. That did not only fix the compilation of pango/gtk+ but also several other packages like qt and jpeg.
*** Bug 82225 has been marked as a duplicate of this bug. ***
I'm no longer having any problem with this. I'll close it out.