Introduction to libglade

The libglade package contains libglade libraries. These are useful for loading Glade interface files in a program at runtime.



Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

libglade Dependencies


libxml2-2.10.3 and GTK+-2.24.33


Python-2.7.18 and GTK-Doc-1.33.2

User Notes:

Installation of libglade

Install libglade by running the following commands:

sed -i '/DG_DISABLE_DEPRECATED/d' glade/ &&
./configure --prefix=/usr --disable-static &&

To test the results, issue: make check. One of the tests, test-convert, is known to fail.

Now, as the root user:

make install

Command Explanations

sed -i '/DG_DISABLE_DEPRECATED/d': Some of the glib functions that libglade uses were declared deprecated in glib-2.30. This sed removes the G_DISABLE_DEPRECATED CFLAG.

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.


Installed Program: libglade-convert (requires python)
Installed Library:
Installed Directories: /usr/{include/libglade-2.0/glade,share/{gtk-doc/html/libglade, xml/libglade}}

Short Descriptions


is used to convert old Glade interface files to Glade-2.0 standards

contains the functions necessary to load Glade interface files