GTK-2.0 static linked application does not work



Hi,

I tried to compile a statically-linked Application (abiword-1.1.2) on hpux 11.00, but I 
it fails on startup with errror message. I compiled all gtk2 components with
--disable-shared --enable-static. I moved the gtk2 binary directory with mv gtk2 gtk2.sec
to see, if the binary starts.


# abiword
GLib: Cannot convert message: Conversion from character set 'UTF-8' to 'iso88591' is not supported

** (AbiWord_s:22411): 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/gtk2/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

** (AbiWord_s:22411): WARNING **: Couldn't load font "Sans 10" falling back to "Sans 10"

** (AbiWord_s:22411): WARNING **: Couldn't load font "Sans 10" falling back to "Sans 10"

** (AbiWord_s:22411): WARNING **: All font failbacks failed!!!!


I tried to recreate the file pango.modules by running pango-querymodules, but the same result.


# /opt/gtk2/bin/pango-querymodules > /opt/gtk2/etc/pango/pango.modules
# Pango Modules file
# Automatically generated file, do not edit
#
Cannot load module /opt/gtk2/etc/pango/pango.modules: Bad magic number for shared library: /opt/gtk2
/etc/pango/pango.modules
/opt/gtk2/etc/pango/pango.modules does not export Pango module API


system info:
gcc-3.2
glib-2.0.7
pango-1.0.5
atk-1.0.3
gtk+-2.0.8

any help ?

thanks Martin



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