# GLib-GObject-CRITICAL \*\*:g\_boxed\_type\_register\_static: asser

**URL:** <https://www.ruby-forum.com/t/glib-gobject-critical-asser/66088>\
**Category:** Ruby-Gnome 2\
**Created:** [August 23, 2006, 9:02am UTC](https://www.ruby-forum.com/t/glib-gobject-critical-asser/66088 "2006-08-23T09:02:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@Dobai-Pataky\_B](https://www.ruby-forum.com/u/Dobai-Pataky_B)\
**Post date:** [August 23, 2006, 9:02am UTC](https://www.ruby-forum.com/t/glib-gobject-critical-asser/66088/1 "2006-08-23T09:02:48Z")

</div>

i installed 0.15.0, and when requiring gtk2 i get the following error:

Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to load -- cairo /usr/lib/ruby/site_ruby/1.8/glib2.rb: line 55 GLib-GObject-CRITICAL **:g_boxed_type_register_static: assertion `g\_type\_from\_name (name) == 0’ failed  
Aborted

there is no cairo in ruby-gnome2-all-0.15.0, so i don’t get this.

i searched the net, and found on this thread  
[http://mail.gnome.org/archives/gtk-perl-list/2005-December/msg00012.html](http://mail.gnome.org/archives/gtk-perl-list/2005-December/msg00012.html)  
that there is a libgnomecanvas problem. my libgnomecanvas did not  
change, it’s 2.14.0:  
[http://ftp.gnome.org/pub/gnome/sources/libgnomecanvas/2.14/](http://ftp.gnome.org/pub/gnome/sources/libgnomecanvas/2.14/)

i use gentoo, gtk±2.10.1, gnome-desktop-2.15.92

---

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@Dobai-Pataky\_B](https://www.ruby-forum.com/u/Dobai-Pataky_B)\
**Post date:** [August 23, 2006, 2:03pm UTC](https://www.ruby-forum.com/t/glib-gobject-critical-asser/66088/2 "2006-08-23T14:03:13Z")

</div>

Hi,

Ruby/Cairo is not a part of Ruby-GNOME2 project.

See:  
[http://www.cairographics.org/](http://www.cairographics.org/)  
[http://www.cairographics.org/rcairo](http://www.cairographics.org/rcairo)

On Wed, 23 Aug 2006 10:02:56 +0300  
Dobai-Pataky B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> there is no cairo in ruby-gnome2-all-0.15.0, so i don’t get this.

## –

.:% Masao M.[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@Dobai-Pataky\_B](https://www.ruby-forum.com/u/Dobai-Pataky_B)\
**Post date:** [August 23, 2006, 2:05pm UTC](https://www.ruby-forum.com/t/glib-gobject-critical-asser/66088/3 "2006-08-23T14:05:13Z")

</div>

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)
