Description of problem: When running Monodevelop on x86_64, many references are missing in the Edit References dialog. The bug is in /usr/bin/monodevelop, where the wrong libdir is used: if [ -n $PKG_CONFIG_PATH ]; then export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig/ else export PKG_CONFIG_PATH=/usr/lib/pkgconfig/ fi This is on both devel and fc5.
FC-5 is fine, it should be like that (for now). I'll have to check on the rawhide one.
No, pkgconfig uses %{_libdir} on fc5, so the PKG_CONFIG_PATH is wrong. $ rpm -ql pkgconfig /usr/lib64/pkgconfig ... $ rpm -ql gtk-sharp2 /usr/lib64/pkgconfig/gtk-sharp-2.0.pc ...
Unless something has happened on FC-5 and the version is no longer 1.1.13-x, then *everything* goes to /usr/lib irrespective of architecture. If you look at the pkgconfig file in /usr/lib64 for gtk-sharp-2.0.pc, you'll see it points to /usr/lib (or more accurately, ${exec_prefix}/lib). This means that where things point to on monodevelop for /usr/lib is correct. It's wrong on rawhide/FC6 which is what I'll need to fix tonight.
But the pkgconfig files themselves go in /usr/lib64/pkgconfig. So PKG_CONFIG_PATH needs to point to /usr/lib64/pkgconfig man pkg-config:: PKG_CONFIG_PATH A colon-separated (on Windows, semicolon-separated) list of directories to search for .pc files.
Ah, right...