Hello there, I've recently obtained the GTK+ library as well as Pango, ATK, and GLib. I was able to successfully build Pango, ATK, and GLib, and they've installed just fine. However, GTK+ absolutely *refuses* to build, and I can't quite make any sense of it, because everything seems to be in order for it *to* build. The system in question has the following specs to it:
Linux Kernel 2.4.20 glibc 2.3.1 gcc 3.2.2 X.org X11R6.7.0 FreeType 2.1.8 (IIRC, anyway, can't find the exact thing at the moment) Latest Stable Pango, ATK, GLib.
The problem that I seem to be experiencing is this:
/bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -o gtk-demo appwindow.o button_box.o changedisplay.o colorsel.o dialog.o drawingarea.o editable_cells.o entry_completion.o expander.o hypertext.o images.o list_store.o menus.o panes.o pixbufs.o sizegroup.o stock_browser.o textview.o tree_store.o ui_manager.o main.o ../../gdk-pixbuf/libgdk_pixbuf-2.0.la ../../gdk/libgdk-x11-2.0.la ../../gtk/libgtk-x11-2.0.la gcc -g -O2 -Wall -o .libs/gtk-demo appwindow.o button_box.o changedisplay.o colorsel.o dialog.o drawingarea.o editable_cells.o entry_completion.o expander.o hypertext.o images.o list_store.o menus.o panes.o pixbufs.o sizegroup.o stock_browser.o textview.o tree_store.o ui_manager.o main.o ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -L/usr/local/lib ../../gdk/.libs/libgdk-x11-2.0.so -L/usr/X11R6/lib ../../gtk/.libs/libgtk-x11-2.0.so /home/fd0man/gtk-stuff/gtk+-2.4.3/gdk/.libs/libgdk-x11-2.0.so -lXrandr -lXinerama -lXext -lXft /usr/lib/libfreetype.so -lz -lXrender -lfontconfig /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /home/fd0man/gtk-stuff/gtk+-2.4.3/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -lX11 /usr/local/lib/libpangoxft-1.0.so /usr/local/lib/libpangox-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -lm -Wl,--rpath -Wl,/usr/local/lib ../../gtk/.libs/libgtk-x11-2.0.so: undefined reference to `pango_find_base_dir' collect2: ld returned 1 exit status
What I've done with attempting to make this build is as follows: The first time I ran 'make' after './configure', I was greeted with an issue stating that I didn't have libgobjects.2.somethingoranother.la in /usr/lib. Well, I knew that much, because everything had been installed in /usr/local/lib. The solution that seemed to permit that to work was symlinking from the original files in /usr/local/lib to /usr/lib, and that seemed to permit the build to go on, until... Now. I have this crazy message stating that there is an undefined reference to 'pango_find_base_dir', however, that's kinda mind-boggling. I checked /usr/local/lib/libpango-1.0.so and saw that it did indeed have the function requested:
fd0man@mike:~/gtk-stuff/gtk+-2.4.3$ nm /usr/local/lib/libpango-1.0.so |grep find_base 0001d4ec T pango_find_base_dir
So I'm not quite understanding where the compiler sees this as non-existant, when it very plainly exists right there in front of my face. Anyone who can help with this, would be very appreciated, and if there is any more information that is needed to help solve this, please feel free to ask me and I will try to provide it. I just want to get this all working :-).
Make sure pkg-config can find its .pc files in /usr/local/lib/pkgconfig.
Add this path in the shell: PKG_CONFIG_PATH="/usr/local/lib/pkgconfig: /usr/lib/pkgconfig" _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list