I just recently built gtk3 from source myself (and did not hit your problem). I'd say it's most likely that your PKG_CONFIG_PATH is unset and therefore inconsistent with where you've installed your packages (/usr/local) So you would need to re-build, but first export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/lib/pkgconfig" You can diagnose it with ldd -v of your libgio-2.0.so - Here's output of mine (my prefix is /usr/gtk3) - see how the reference is resolved to a libglib under the same place /usr/gtk3 That's what you should be looking for except your place is /usr/local John /root:0 nm /usr/gtk3/lib/libgio-2.0.so | fgrep -e g_source_get_time U g_source_get_time /root:0 ldd -v /usr/gtk3/lib/libgio-2.0.so | fgrep glib libglib-2.0.so.0 => /usr/gtk3/lib/libglib-2.0.so.0 (0xb7525000) /usr/gtk3/lib/libglib-2.0.so.0: /root:0 nm /usr/gtk3/lib/libglib-2.0.so.0 | fgrep -e g_source_get_time 0003d8e0 T g_source_get_time /root:0 ---------------------------------------- > Subject: Re: problems compiling gtk3 > From: jbialk@xxxxxxx > To: ian.liu88@xxxxxxxxx > Date: Tue, 15 Mar 2011 21:12:25 -0400 > CC: gtk-list@xxxxxxxxx > > > > > Where did you installed the dependencies? > > You must set some environment variables, so it links with the correct > > *.so files: > > > > > > BASE=$HOME/Build > > export PATH=$BASE/bin:$PATH > > export LD_LIBRARY_PATH=$BASE/lib:$LD_LIBRARY_PATH > > export PKG_CONFIG_PATH=$BASE/lib/pkgconfig:$PKG_CONFIG_PATH > > export XDG_DATA_DIRS=$BASE/share:$XDG_DATA_DIRS > > > In installed them in the default auto-configured spot. i.e. I ran > > ./configure > make > sudo make install > > In my case it turns out to be /usr/local/lib/ > > I checked pkg-config --libs glib-2.0 and the output was > -L/usr/local/lib/glib-2.0 so I don't think I should have to export those > variables. I just reinstalled the system after screwing something up so > I will try that next though. Thanks for the suggestion. > > > _______________________________________________ > gtk-list mailing list > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list