Cannot compile gobject_introspection on a ubuntu machine

Hello everyone!

This is the error message i get while compiling gobject_introspection library in my laptop which runs ubuntu.
Will greatly appreciate any help.

[‘gcc’, ‘-pthread’, ‘-B’, ‘/home/kopinjol/anaconda3/compiler_compat’, ‘-o’, ‘/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/tmp-introspectvyojb4fp/GLib-2.0’, ‘/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/tmp-introspectvyojb4fp/GLib-2.0.o’, ‘-L.’, ‘-Wl,-rpath,.’, ‘-Wl,–no-as-needed’, ‘-L/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/libffi/src’, ‘-Wl,-rpath,/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/libffi/src’, ‘-L/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/proxy-libintl’, ‘-Wl,-rpath,/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/proxy-libintl’, ‘-L/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/glib’, ‘-Wl,-rpath,/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/glib’, ‘-L/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/gobject’, ‘-Wl,-rpath,/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/gobject’, ‘-L/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/gmodule’, ‘-Wl,-rpath,/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/gmodule’, ‘-L/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/gio’, ‘-Wl,-rpath,/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/gio’, ‘-lglib-2.0’, ‘-lgobject-2.0’, ‘-lglib-2.0’, ‘-lgmodule-2.0’, ‘-lgobject-2.0’, ‘-lgio-2.0’, ‘-L/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/gio’, ‘-L/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/gobject’, ‘-L/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/gmodule’, ‘-L/home/kopinjol/Other/Other/GNOME/gobject-introspection/builddir/subprojects/glib/glib’, ‘-lgio-
2.0’, ‘-lgobject-2.0’, ‘-lgmodule-2.0’, ‘-pthread’, ‘-lglib-2.0’]’ returned non-zero exit status 1.

ninja: build stopped: subcommand failed.

kopinjol

You don’t have GLib in you library path. If you installed GLib in a non-system prefix, you will need to modify the LD_LIBRARY_PATH environment variable, as well as the PKG_CONFIG_PATH one.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.