GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the

Postby Czarek » Tue Oct 18, 2016 8:47 am

I've built CEF branch 2840 and trying to run a GTK example in cefpython and got this error:

Code: Select all
Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported


Maybe this is related to symbol_level=1 reported in this topic? viewtopic.php?f=6&t=14595

Using GTK 3.10 via PyGObject/Gtk library in a Python application.

It worked fine in branch 2785.

OS: Ubuntu 14.04 64-bit.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in

Postby Czarek » Tue Oct 18, 2016 10:22 am

I've stripped symbols from libcef.so, but it doesn't resolve the issue.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in

Postby magreenblatt » Tue Oct 18, 2016 10:28 am

It's possible that 2840 branch has inadvertently added a GTK2 dependency. Does `ldd libcef.so` list GTK libraries?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in

Postby Czarek » Tue Oct 18, 2016 10:39 am

magreenblatt wrote:It's possible that 2840 branch has inadvertently added a GTK2 dependency. Does `ldd libcef.so` list GTK libraries?

Yes. Running `ldd libcef.so` finds gtk, atk and gdk deps:
Code: Select all
   libgtk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x00007fa05cc66000)
   libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007fa05d2a3000)
   libgdk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 (0x00007fa05c9b2000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007fa05c791000)
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in

Postby magreenblatt » Tue Oct 18, 2016 10:55 am

If those deps didn't exist in 2785 then we should see if it's possible to remove them. Feel free to add a bug.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in

Postby Czarek » Tue Oct 18, 2016 11:09 am

magreenblatt wrote:If those deps didn't exist in 2785 then we should see if it's possible to remove them. Feel free to add a bug.

Checked it, they didn't exist in 2785. Created Issue #2014.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 42 guests