acroread9 and 8 not working

Boris Samorodov bsam at ipt.ru
Sun May 3 13:43:35 UTC 2009


On Fri, 1 May 2009 11:37:11 +0200 (CEST) Pieter Donche wrote:

> I have FreeBSD7/amd64 with linux_base-fc-4_14  Base set of packages needed
> in Linux mode (for i386/amd64)

> In /etc/rc.conf there I have linux_enable="YES"

> Checked (from FreeBSD book chapter 10.2)
> # kldstat
> Id Refs Address            Size     Name
>  1    7 0xffffffff80100000 ac7708   kernel
>  2    1 0xffffffffb08e0000 18aea    linux.ko
>  3    1 0xffffffffb09cb000 496      star_saver.ko

> I installed acroread9-9.1.0_2 (no errors)

Acroread9 doesn't work even with current, some linux syscalls are
missing.

> # cd /usr/ports/print/acroread9
> # make install clean
> OK.

> but at
> $ acroread &
> I get:

> (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
> file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
> (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader:
> Image type 'xpm' is not supported
> (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
> file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
> (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader:
> Image type 'xpm' is not supported
> (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
> file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
> (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader:
> Image type 'xpm' is not supported
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion
> `GDK_IS_PIXBUF (pixbuf)' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
> `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height:
> assertion `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
> `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height:
> assertion `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
> `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height:
> assertion `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
> file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
> (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader:
> Image type 'xpm' is not supported
> (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
> file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
> (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader:
> Image type 'xpm' is not supported
> (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
> file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
> (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader:
> Image type 'xpm' is not supported
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
> (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion
> `GDK_IS_PIXBUF (pixbuf)' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
> `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height:
> assertion `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
> `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height:
> assertion `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
> `pixbuf != NULL' failed
> (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height:
> assertion `pixbuf != NULL' failed

> (acroread:67581): 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:
>    '/etc/pango/pango.modules'
> You may be able to recreate this file by running pango-querymodules.
> (acroread:67581): 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...
> [1]+  Exit 1                  acroread

> I do have:
> /usr/compat/linux/etc/pango
> drwxr-xr-x   2 root  wheel    512 Apr 24 09:51 i686-redhat-linux-gnu
> -rw-r--r--   1 root  wheel  11446 Apr 24 09:50 pangox.aliases

> I tried with pkg_delete acroread9 and installing acroread8 from ports
> - same problem.

> What is wrong and how to remedy ?

But acroread8 should be OK. I've just installed a vanilla 7-STABLE
and acroread8 -- it just works.

Can't say what's wrong with your system, but general recommendation here
is to remove all linux applications/ports, unmount linux filesystems,
remove /compat/linux/*, make clean print/acroread8, install it (and
other linux applications), mount needed linux file systems. The ports
infrastructure should DTRT.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-emulation mailing list