[Glade-users] Running glade 3.10.



On Sat, 2011-04-09 at 10:08 -0300, John Coppens wrote:
On Sat, 09 Apr 2011 02:36:30 +0900
Tristan Van Berkom <tristanvb at openismus.com> wrote:

On Sat, 2011-04-09 at 02:06 -0300, John Coppens wrote:
Hello people.

I successfully compiled and installed glade 3.10.0, but, on starting it,
I get the message below. I guess the first line is normal, but the thing
about registering type seems more serious.


The first line is where everything went wrong and Glade could not
find it's backend plugin ;-)

Ah, well... Show how much I really know, doesn't it?

The next error and those that follow come from a plugin I suspect
was compiled with <= 3.8 sources (and that plugin of course links 
to GTK+2, and so the mix would surely cause bad things to happen).


The only module in /usr/lib64/glade/modules is libgladegtk (see ldd below). It seems
to be linked correctly to gtk-3.

It seems the problem is that glade is looking in /usr/lib64/glade3 for the module (and finds the
old one there). From strace glade:

access("libgladegtk.so", F_OK)          = -1 ENOENT (No such file or directory)          
access("/usr/lib64/glade3/modules/libgladegtk.so", F_OK) = 0  
stat("/usr/lib64/glade3/modules/libgladegtk.so", {st_mode=S_IFREG|0755, st_size=1748994, ...}) = 0
open("/usr/lib64/glade3/modules/libgladegtk.so", O_RDONLY) = 17

What defines this search path?

By default it's determined at build time, Glade 3.10 should not be
looking into the old 'glade3' directories... GLADE_MODULE_PATH env
var also allows this path to be defined at run time.

Did you compile this from a tarball or from git ?


John


$ ldd /usr/lib64/glade/modules/libgladegtk.so 
      linux-vdso.so.1 =>  (0x00007fff83d59000)
      libgladeui-2.so.0 => /usr/lib64/../lib64/libgladeui-2.so.0 (0x00007f4b3a39e000)
      libgtk-3.so.0 => /usr/lib64/../lib64/libgtk-3.so.0 (0x00007f4b39d8a000)
      libgdk-3.so.0 => /usr/lib64/../lib64/libgdk-3.so.0 (0x00007f4b39b10000)
      libatk-1.0.so.0 => /usr/lib64/../lib64/libatk-1.0.so.0 (0x00007f4b398f0000)
      libpangocairo-1.0.so.0 => /usr/lib64/../lib64/libpangocairo-1.0.so.0 (0x00007f4b396e3000)
      libpangoft2-1.0.so.0 => /usr/lib64/../lib64/libpangoft2-1.0.so.0 (0x00007f4b394b6000)
      libstdc++.so.6 => /usr/lib64/../lib64/libstdc++.so.6 (0x00007f4b391b2000)
      libgdk_pixbuf-2.0.so.0 => /usr/lib64/../lib64/libgdk_pixbuf-2.0.so.0 (0x00007f4b38f94000)
      libgio-2.0.so.0 => /usr/lib64/../lib64/libgio-2.0.so.0 (0x00007f4b38c6a000)
      libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f4b38a23000)
      libcairo-gobject.so.2 => /usr/lib64/../lib64/libcairo-gobject.so.2 (0x00007f4b3881a000)
      libcairo.so.2 => /usr/lib64/../lib64/libcairo.so.2 (0x00007f4b3856e000)
      libpixman-1.so.0 => /usr/lib64/../lib64/libpixman-1.so.0 (0x00007f4b38300000)
      libpng14.so.14 => /usr/lib64/../lib64/libpng14.so.14 (0x00007f4b380d9000)
      libXrender.so.1 => /usr/lib64/../lib64/libXrender.so.1 (0x00007f4b37ecf000)
      libX11.so.6 => /usr/lib64/../lib64/libX11.so.6 (0x00007f4b37b90000)
      libxcb.so.1 => /usr/lib64/../lib64/libxcb.so.1 (0x00007f4b37973000)
      libXau.so.6 => /usr/lib64/../lib64/libXau.so.6 (0x00007f4b37770000)
      libXdmcp.so.6 => /usr/lib64/../lib64/libXdmcp.so.6 (0x00007f4b3756b000)
      libpng15.so.15 => /usr/lib64/../lib64/libpng15.so.15 (0x00007f4b37342000)
      libpango-1.0.so.0 => /usr/lib64/../lib64/libpango-1.0.so.0 (0x00007f4b370f7000)
      libfontconfig.so.1 => /usr/lib64/../lib64/libfontconfig.so.1 (0x00007f4b36ec3000)
      libfreetype.so.6 => /usr/lib64/../lib64/libfreetype.so.6 (0x00007f4b36c3a000)
      libexpat.so.1 => /usr/lib64/../lib64/libexpat.so.1 (0x00007f4b36a17000)
      libgobject-2.0.so.0 => /usr/lib64/../lib64/libgobject-2.0.so.0 (0x00007f4b367c8000)
      libgmodule-2.0.so.0 => /usr/lib64/../lib64/libgmodule-2.0.so.0 (0x00007f4b365c4000)
      libgthread-2.0.so.0 => /usr/lib64/../lib64/libgthread-2.0.so.0 (0x00007f4b363c0000)
      libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4b361a3000)
      libglib-2.0.so.0 => /usr/lib64/../lib64/libglib-2.0.so.0 (0x00007f4b35e8b000)
      librt.so.1 => /lib64/librt.so.1 (0x00007f4b35c83000)
      libxml2.so.2 => /usr/lib64/../lib64/libxml2.so.2 (0x00007f4b35930000)
      libdl.so.2 => /lib64/libdl.so.2 (0x00007f4b3572b000)
      libz.so.1 => /usr/lib64/../lib64/libz.so.1 (0x00007f4b35515000)
      libm.so.6 => /lib64/libm.so.6 (0x00007f4b35292000)
      libc.so.6 => /lib64/libc.so.6 (0x00007f4b34f1c000)
      libXinerama.so.1 => /usr/lib64/../lib64/libXinerama.so.1 (0x00007f4b34d1a000)
      libXi.so.6 => /usr/lib64/../lib64/libXi.so.6 (0x00007f4b34b0a000)
      libXrandr.so.2 => /usr/lib64/../lib64/libXrandr.so.2 (0x00007f4b34902000)
      libXext.so.6 => /usr/lib64/../lib64/libXext.so.6 (0x00007f4b346f0000)
      libXcursor.so.1 => /usr/lib64/../lib64/libXcursor.so.1 (0x00007f4b344e5000)
      libXcomposite.so.1 => /usr/lib64/../lib64/libXcomposite.so.1 (0x00007f4b342e3000)
      libXdamage.so.1 => /usr/lib64/../lib64/libXdamage.so.1 (0x00007f4b340e1000)
      libXfixes.so.3 => /usr/lib64/../lib64/libXfixes.so.3 (0x00007f4b33eda000)
      /lib64/ld-linux-x86-64.so.2 (0x00007f4b3a8a6000)
      libgcc_s.so.1 => /usr/lib64/../lib64/libgcc_s.so.1 (0x00007f4b33cc4000)






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