GNOME Bugzilla – Bug 604556
ERROR: can't resolve libraries to shared libraries: glib-2.0
Last modified: 2015-02-07 16:58:34 UTC
Created attachment 149710 [details] configuration & make log When compiling gobject-introspection-0.6.6 for ARM I get the following: Making all in gir make[2]: Entering directory `/home/firas/gobject-introspection-0.6.6/gir' env LPATH=.libs env PYTHONPATH=..:..:$PYTHONPATH UNINSTALLED_INTROSPECTION_SRCDIR=.. UNINSTALLED_INTROSPECTION_BUILDDIR=.. ../tools/g-ir-scanner -v --add-include-path=../gir --add-include-path=. \ --namespace GLib --nsversion=2.0 \ --noclosure \ --output GLib-2.0.gir \ --strip-prefix=g \ --libtool="/bin/sh ../libtool" \ --c-include="glib.h" \ --library=glib-2.0 \ --pkg glib-2.0 \ -I/usr/local/arm-linux/include -I/usr/local/arm-linux/usr/X11R6/include \ -I`pkg-config --variable=includedir glib-2.0`/glib-2.0 \ -I`pkg-config --variable=libdir glib-2.0`/glib-2.0/include \ -DGETTEXT_PACKAGE=Dummy \ -D__G_I18N_LIB_H__ \ `pkg-config --variable=libdir glib-2.0`/glib-2.0/include/glibconfig.h \ ./glib-2.0.c \ -DGLIB_COMPILATION \ `pkg-config --variable=includedir glib-2.0`/glib-2.0/glib/*.h ERROR: can't resolve libraries to shared libraries: glib-2.0 make[2]: *** [GLib-2.0.gir] Error 1 Although: [clfs: ~/gobject-introspection-0.6.6] > find /usr/ -iname "libglib*" /usr/local/arm-linux/lib/libglib-2.0.so.0.2000.4 /usr/local/arm-linux/lib/libglib-2.0.la /usr/local/arm-linux/lib/libglib-2.0.so.0 /usr/local/arm-linux/lib/libglib-2.0.so.0.2200.2 /usr/local/arm-linux/lib/libglib-2.0.a /usr/local/arm-linux/lib/libglib-2.0.so /usr/local/arm-linux/share/gdb/auto-load/libglib-2.0.so.0.2200.2-gdb.py [clfs: ~/gobject-introspection-0.6.6] > Attached is the full configuration & make log
We don't really support cross-compilation. *** This bug has been marked as a duplicate of bug 592311 ***
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]