Re: [gtk-list] libgtk 2.0: undefined reference to glib



Hi,

On Thu, 14 Sep 2006 19:30:45 -0700 (PDT)
Stephen_Kall <stephenkall gmail com> wrote:
>http://www.nabble.com/user-files/236028/make.log

In the file, I found:

gcc -DG_DISABLE_DEPRECATED -g -O2 -Wall \
  -o .libs/gtk-query-immodules-2.0 \
  queryimmodules.o  \
  ./.libs/libgtk-x11-2.0.so \
  -L/usr/local/lib /root/Downloads/gtk+-2.10.3/gdk/.libs/libgdk-x11-2.0.so \
  -L/usr/X11R6/lib /usr/local/lib/libatk-1.0.so \
  /usr/lib/libgobject-2.0.so \ <<<<<<<<<<<<<<<<<<<<<<<<<<<<  oops!
  /usr/lib/libgmodule-2.0.so \ <<<<<<<<<<<<<<<<<<<<<<<<<<<<  oops!!
  /usr/lib/libglib-2.0.so \ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<  oops!!!
  ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so \
  ../gdk/.libs/libgdk-x11-2.0.so -lXrandr -lXinerama -lXext \
  /usr/local/lib/libpangocairo-1.0.so \
  /usr/local/lib/libpangoft2-1.0.so \
  /usr/local/lib/libpango-1.0.so \
  /usr/local/lib/libcairo.so \
  /usr/local/lib/libfontconfig.so \
  -lpng12 -lXrender -lSM -lICE -lX11 \
  /usr/X11R6/lib/libfontconfig.so \
  /usr/lib/libfreetype.so \
  -lz /usr/lib/libexpat.so \
  /root/Downloads/gtk+-2.10.3/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so \
  /usr/local/lib/libgmodule-2.0.so \
  -ldl /usr/local/lib/libgobject-2.0.so \
  /usr/local/lib/libglib-2.0.so -lrt -lm

It seems that your system has 2 glib:
one is in /usr (possibly legacy) and
another is in /usr/local (possibly you want to use it).
the touble looks very similar to Hussain's trouble.
	http://mail.gnome.org/archives/gtk-list/2006-September/msg00015.html

In the line of "dependency_libs" line of your /usr/local/lib/libatk-1.0.la, 
/usr/local/lib/libglib-2.0.la is listed?

Regards,
mpsuzuki



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]