Re: Error in glib while trying to execute the gtk-demo



It's ok now guys, It's the configuration options that Im wrong. It
already runs the gtk-demo, but there is a problem during the loading
of pixbuf animations. It says:

------------------------------------------------------------------------------------------------------------------------------------------
  Failed to load an image: Unable to load image-loading module:
/opt/rootgtk/rootfs-glibc-frv-040820-3/opt/gtk/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-jpeg.so:/opt/rootgtk/rootfs-glibc-frv-040820-3/opt/gtk-2.0/2.2.0/loaders/libpixbufloader-jpeg.so:
cannot open shared object file: No such file or directory
------------------------------------------------------------------------------------------------------------------------------------------

When I check the /libpixbufloader-jpeg.so, it doesn't exist in the
libraries. I already successfully cross compiled the libjpeg which is
the latest version. In my configuration, I did not disable the jpeg.
It's only the Libtiff that I disabled. Is there something wrong with
my Gtk configuration? My configuration is this:

---------------------------------------------------------------------------------------------------------------------------------------
./configure --prefix=/opt/gtk --host=frv-linux-gnu
--build=i686-pc-linux-gnu --enable-shared=yes --enable-static=no
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--enable-gtk-doc=no --without-libtiff LIBJPEG=-L/opt/gtk/lib
FREETYPE_CONFIG=/opt/gtk/bin/freetype-config
--cache-file=gtk+-config.cache
---------------------------------------------------------------------------------------------------------------------------------------

On 9/28/05, Valdis Kletnieks vt edu <Valdis Kletnieks vt edu> wrote:
> On Wed, 28 Sep 2005 08:32:07 +0800, Xyber Blue said:
>
> > Fontconfig error: Cannot load default config file
>
> > Our target board has already a running x server. I also look the
> > fonts.conf from the following contents
>
> >
> <dir>/opt/rootgtk/rootfs-glibc-frv-040820-3/usr/X11R6/lib/X11/fonts</dir>
> >
> <dir>/opt/rootgtk/rootfs-glibc-frv-040820-3/usr/X11R6/lib/X11/fonts</dir>
> >         <dir>~/.fonts</dir>
>
> >         <dir>/usr/X11R6/lib/X11/fonts</dir>
> >         <dir>/usr/X11R6/lib/X11/fonts</dir>
> >         <dir>~/.fonts</dir>
>
> Permissions issue someplace? Does running 'strace' and looking at what
> files
> it's actually trying to open show it looking elsewhere than you expected,
> or
> it tries and fails to open something that should have worked?
>
>



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