--- On Thu, 8/5/10, Yudong Sun <yudong@xxxxxxxxx> wrote: > From: Yudong Sun <yudong@xxxxxxxxx> > Subject: GTK+ 2.20.0 Make Install Problem > To: gtk-list@xxxxxxxxx > Date: Thursday, August 5, 2010, 4:29 AM > Hi, > > I am installing GTK+ 2.20.0 on a Cray system. The OS is > Cray Linux Environment CLE. I don't have root permission so > I install everything in my directory. > > I have installed GLIB 2.24.0 in my directory and included > glib/lib/pkgconfig to PKG_CONFIG_PATH and glib/lib to > LD_LIBRARY_PATH. Thereafter the 'configure' and 'make' have > successfully passed. Then 'make install' fails with the > following error of undefined symbol: g_malloc_n. It should > be included in glib. How can I fix this error? > > Thanks, > > Y. Sun > > ---------------------------------------------------------------------- > Libraries have been installed in: > /work/z03/z03/ydsun/gtk+-2.20.0/lib/gtk-2.0/2.10.0/immodules > > If you ever happen to want to link against installed > libraries > in a given directory, LIBDIR, you must either use libtool, > and > specify the full pathname of the library, or use the > `-LLIBDIR' > flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' > environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' > environment variable > during linking > - use the `-Wl,-rpath -Wl,LIBDIR' linker > flag > - have your system administrator add > LIBDIR to `/etc/ld.so.conf' > > See any operating system documentation about shared > libraries for > more information, such as the ld(1) and ld.so(8) manual > pages. > ---------------------------------------------------------------------- > make install-data-hook > make[4]: Entering directory > `/work/z03/z03/ydsun/gtk+-2.20.0/modules/input' > /bin/sh /work/z03/z03/ydsun/gtk+-2.20.0/install-sh -d > /work/z03/z03/ydsun/gtk+-2.20.0/etc/gtk-2.0 > ../../gtk/gtk-query-immodules-2.0 > > /work/z03/z03/ydsun/gtk+-2.20.0/etc/gtk-2.0/gtk.immodules > /work/z03/z03/ydsun/gtk+-2.20.0/gtk/.libs/gtk-query-immodules-2.0: > symbol lookup error: > /work/z03/z03/ydsun/gtk+-2.20.0/gtk/.libs/libgtk-x11-2.0.so.0: > undefined symbol: g_malloc_n > make[4]: *** [install-data-hook] Error 127 > make[4]: Leaving directory > `/work/z03/z03/ydsun/gtk+-2.20.0/modules/input' > make[3]: *** [install-data-am] Error 2 > make[3]: Leaving directory > `/work/z03/z03/ydsun/gtk+-2.20.0/modules/input' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory > `/work/z03/z03/ydsun/gtk+-2.20.0/modules/input' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/work/z03/z03/ydsun/gtk+-2.20.0/modules' > make: *** [install-recursive] Error 1 > > ________________________________________________________________________ > The Numerical Algorithms Group Ltd is a company registered > in England > and Wales with company number 1249803. The registered > office is: > Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United > Kingdom. > > This e-mail has been scanned for all viruses by Star. The > service is > powered by MessageLabs. > ________________________________________________________________________ > _______________________________________________ Might be related to https://bugzilla.gnome.org/show_bug.cgi?id=624471 . 'libtool' apparently incorrectly deals with LD_LIBRARY_PATH - the details are in the above bug report, as well as in URLs to 'libtool' bug threads. Regards, Sergei. _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list