Re: glibmm-2.22.1 compilar error

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

 



On Fri, Jan 15, 2010 at 08:02:53PM +0800, gordon wrote:
>        I am a  gtk user. I  install glib-2.22.1 first . I get the glib-2.22.1.tar.bz2 from www.gtk.org and glibmm-2.22.1.tar.bz2 from www.grkmm.org . And then i install glibmm-2.22.1.But i can not compilar glibmm-2.22 with some errors caused by libgio-2.0.so.

Apparently you compiled GLib (or other packages involved) manually and
installed them to /usr/local/lib.   Even though you have glib-2.12
in /usr (probably, version guessed).  Then for some reason the compiler
picked the headers from /usr/local while the linker used libs in /usr.
Can't tell why because that cannot be decuced from the posted log.

Rule #1.  Don't install into system directories different versions of
something you already have in system directories.  Just don't.  If you
think you can, well, then you don't need to ask how.

So, remove it, configure the new GLib to a non-system location and set
up PKG_CONFIG_PATH, LD_LIBRARY_PATH and PATH to point there (before the
system directories) when compiling and running something that uses it.

If you need it installed to the system, find a package for your system
or backport one if none is available.

Yeti

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux