GTK on Solaris 10



Greetings, I have successfully installed gtk-2.6.0 on Solaris 10. I used gcc-3.4.2 to build all the packages. Everything was installed into /opt/pkg directory, below is a list of currently installed packages:

atk-1.9.0
coreutils-5.2.1
expat-1.95.8
fontconfig-2.2.97
freetype-2.1.9
gawk-3.1.4
gcc-3.4.2
glib-2.6.0
gmake-3.80
grep-2.5
gtk+-2.6.0
jpeg-6b
libpng-1.2.8
pango-1.8.0
pkgconfig-0.15.0
tar-1.14
tiff-v3.6.1
xft-2.1.2
xrender-0.8.3

The problem is when I try to run a demo gtk program, I get the following errors:

# ./gtk-demo

(gtk-demo:27321): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/opt/pkg/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

(gtk-demo:27321): Pango-WARNING **: No builtin or dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/opt/pkg/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(gtk-demo:27321): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(gtk-demo:27321): Pango-CRITICAL **: _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed

Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0)
aborting...
Abort - core dumped


Does anyone know what's going on here and how to fix it?
Thanks

Here is some diagnostic info
Running ldd on gtk-demo file gives:

# ldd ./gtk-demo
libgdk_pixbuf-2.0.so.0 => /opt/pkg/lib/libgdk_pixbuf-2.0.so.0
        libgdk-x11-2.0.so.0 =>   /opt/pkg/lib/libgdk-x11-2.0.so.0
        libgtk-x11-2.0.so.0 =>   /opt/pkg/lib/libgtk-x11-2.0.so.0
        libXext.so.0 =>  /usr/lib/libXext.so.0
        libXft.so.2 =>   /opt/pkg/lib/libXft.so.2
        libXrender.so.1 =>       /opt/pkg/lib/libXrender.so.1
        libfontconfig.so.1 =>    /opt/pkg/lib/libfontconfig.so.1
        libfreetype.so.6 =>      /opt/pkg/lib/libfreetype.so.6
        libz.so.1 =>     /usr/lib/libz.so.1
        libexpat.so.0 =>         /opt/pkg/lib/libexpat.so.0
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libpangoxft-1.0.so.0 =>  /opt/pkg/lib/libpangoxft-1.0.so.0
        libpangox-1.0.so.0 =>    /opt/pkg/lib/libpangox-1.0.so.0
        libpango-1.0.so.0 =>     /opt/pkg/lib/libpango-1.0.so.0
        libatk-1.0.so.0 =>       /opt/pkg/lib/libatk-1.0.so.0
        libgobject-2.0.so.0 =>   /opt/pkg/lib/libgobject-2.0.so.0
        libgmodule-2.0.so.0 =>   /opt/pkg/lib/libgmodule-2.0.so.0
        libglib-2.0.so.0 =>      /opt/pkg/lib/libglib-2.0.so.0
        libm.so.2 =>     /lib/libm.so.2
        libc.so.1 =>     /lib/libc.so.1
        libgcc_s.so.1 =>         /opt/pkg/lib/libgcc_s.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd5.so.1 =>   /lib/libmd5.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libpangoft2-1.0.so.0 =>  /opt/pkg/lib/libpangoft2-1.0.so.0
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        /platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
        /platform/SUNW,Ultra-5_10/lib/libmd5_psr.so.1


Running pango-querymodules gives:

pango-querymodules
# ./pango-querymodules
# Pango Modules file
# Automatically generated file, do not edit
#
# ModulesPath = /opt/pkg/lib/pango/1.4.0/modules
#
Cannot load module /opt/pkg/lib/pango/1.4.0/modules/pango-arabic-fc.so: ld.so.1: ./pango-querymodules: fatal: relocation error: file /opt/pkg/lib/pango/1.4.0/modules/pango-arabic-fc.so: symbol pango_ot_info_find_feature: referenced symbol not found /opt/pkg/lib/pango/1.4.0/modules/pango-arabic-fc.so does not export Pango module API /opt/pkg/lib/pango/1.4.0/modules/pango-basic-x.so BasicScriptEngineX PangoEngineShape PangoRenderX common: /opt/pkg/lib/pango/1.4.0/modules/pango-basic-fc.so BasicScriptEngineFc PangoEngineShape PangoRenderFc armenian:* bopomofo:* cherokee:* coptic:* cyrillic:* deseret:* ethiopic:* georgian:* gothic:* greek:* han:* hiragana:* katakana:* latin:* ogham:* old-italic:* runic:* canadian-aboriginal:* yi:* braille:* cypriot:* limbu:* osmanya:* shavian:* linear-b:* ugaritic:* common: /opt/pkg/lib/pango/1.4.0/modules/pango-hangul-fc.so HangulScriptEngineFc PangoEngineShape PangoRenderFc hangul:* Cannot load module /opt/pkg/lib/pango/1.4.0/modules/pango-hebrew-fc.so: ld.so.1: ./pango-querymodules: fatal: relocation error: file /opt/pkg/lib/pango/1.4.0/modules/pango-hebrew-fc.so: symbol pango_ot_info_find_feature: referenced symbol not found /opt/pkg/lib/pango/1.4.0/modules/pango-hebrew-fc.so does not export Pango module API Cannot load module /opt/pkg/lib/pango/1.4.0/modules/pango-indic-fc.so: ld.so.1: ./pango-querymodules: fatal: relocation error: file /opt/pkg/lib/pango/1.4.0/modules/pango-indic-fc.so: symbol pango_ot_info_find_feature: referenced symbol not found /opt/pkg/lib/pango/1.4.0/modules/pango-indic-fc.so does not export Pango module API Cannot load module /opt/pkg/lib/pango/1.4.0/modules/pango-syriac-fc.so: ld.so.1: ./pango-querymodules: fatal: relocation error: file /opt/pkg/lib/pango/1.4.0/modules/pango-syriac-fc.so: symbol pango_ot_info_find_feature: referenced symbol not found /opt/pkg/lib/pango/1.4.0/modules/pango-syriac-fc.so does not export Pango module API Cannot load module /opt/pkg/lib/pango/1.4.0/modules/pango-thai-fc.so: ld.so.1: ./pango-querymodules: fatal: relocation error: file /opt/pkg/lib/pango/1.4.0/modules/pango-thai-fc.so: symbol pango_ot_info_find_feature: referenced symbol not found /opt/pkg/lib/pango/1.4.0/modules/pango-thai-fc.so does not export Pango module API Cannot load module /opt/pkg/lib/pango/1.4.0/modules/pango-tibetan-fc.so: ld.so.1: ./pango-querymodules: fatal: relocation error: file /opt/pkg/lib/pango/1.4.0/modules/pango-tibetan-fc.so: symbol pango_ot_info_find_feature: referenced symbol not found /opt/pkg/lib/pango/1.4.0/modules/pango-tibetan-fc.so does not export Pango module API





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