Daniel, thanks for your help. Although I was not sucessful yet: >-----Ursprüngliche Nachricht----- >Von: Daniel Nilsson [mailto:daniel@xxxxxxxxxxxxxxx] >Gesendet: Freitag, 13. Mai 2005 20:22 >An: Schuler, Dr. Christian; gtk-list@xxxxxxxxx >Betreff: Re: Problem with GTK installation under Solaris 9 > > >Schuler, Dr. Christian (Christian.Schuler@xxxxxx) wrote: >> >> I have installed gtk-2.2.4 Solaris 9 binaries from sunfreeware >> >> When I try to compile and link the base.c test programm, I get the >> following >> linker errors: >> >> # gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0` >> Undefined first referenced >> symbol in file >> gdk_drawable_get_display /usr/local/lib/libgtk-x11-2.0.so >> gdk_window_set_geometry_hints /usr/local/lib/libgtk-x11-2.0.so >> The pkg-config-Output is listed below: >> >> # pkg-config --cflags --libs gtk+-2.0 >> -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include >> -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 >> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >> -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 >-lgdk_pixbuf-2.0 >> -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 >-ldl -lglib-2.0 >> -liconv > >The symbols you are missing should all be defined in >/usr/local/lib/libgdk-x11-2.0.so, check to make sure they are there: > >nm /usr/local/lib/libgdk-x11-2.0.so | grep gdk_drawable_get_display > >to check if the symbols are there. I've checked this already, as far as I can see the symbols are there: # nm /usr/local/lib/libgdk-x11-2.0.so | grep gdk_drawable_get_display [298] | 60588| 188|FUNC |LOCL |0 |15 |gdk_drawable_get_display > >Do you have LD_LIBRARY_PATH set to some other directory then >/usr/local/lib >perhaps ? The LD_LIBRARY_PATH ist set to export LD_LIBRARY_PATH=/usr/local:/usr/local/lib:/usr/X11R6/lib Actually I see no difference in the linker output, even if I have an empty LD_LIBRARY_PATH. > >Daniel > >-- >Daniel Nilsson > > > > _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list