This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ERROR: can't resolve libraries to shared libraries: gobject-2.0, glib-2.0


Hi,

Configure is set as :--------
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:$LD_LIBRARY_PATH
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
./configure --disable-static

when running make :-------
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:$LD_LIBRARY_PATH
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig make

Getting this error at make , when cross-compiling
gobject-introspection-1.34.2 :-------------


    raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha512
./libtool: line 3055: warning: setlocale: LC_CTYPE: cannot change
locale (en_US.UTF-8): No such file or directory
./libtool: line 3055: warning: setlocale: LC_COLLATE: cannot change
locale (en_US.UTF-8): No such file or directory
./libtool: line 3055: warning: setlocale: LC_MESSAGES: cannot change
locale (en_US.UTF-8): No such file or directory
ERROR: can't resolve libraries to shared libraries: gobject-2.0, glib-2.0
make[2]: *** [GLib-2.0.gir] Error 1
make[2]: Leaving directory
`/home/ignite/sbox2/rootfs/rfs-raspbian/home/pi/gobject-introspection-1.34.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/ignite/sbox2/rootfs/rfs-raspbian/home/pi/gobject-introspection-1.34.2'
make: *** [all] Error 2





But libraries are here :-----------
ignite@ignite:~/sbox2/rootfs/rfs-raspbian/usr/local/lib/pkgconfig$ ls -l *2.0.pc
-rw-r--r-- 1 ignite ignite 543 Mar  1 17:45 gdk-pixbuf-2.0.pc
-rw-r--r-- 1 ignite ignite 458 Feb 27 23:00 gio-2.0.pc
-rw-r--r-- 1 ignite ignite 293 Feb 27 23:00 gio-unix-2.0.pc
-rw-r--r-- 1 ignite ignite 392 Feb 27 23:00 glib-2.0.pc
-rw-r--r-- 1 ignite ignite 316 Feb 27 23:00 gmodule-2.0.pc
-rw-r--r-- 1 ignite ignite 316 Feb 27 23:00 gmodule-export-2.0.pc
-rw-r--r-- 1 ignite ignite 295 Feb 27 23:00 gmodule-no-export-2.0.pc
-rw-r--r-- 1 ignite ignite 285 Feb 27 23:00 gobject-2.0.pc
-rw-r--r-- 1 ignite ignite 245 Feb 27 23:00 gthread-2.0.pc



Please sugest how to resolve it ?

//Allan

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]