You are not logged in.

#1 2010-10-16 16:23:50

filam
Wiki Maintainer
From: Portland, ME
Registered: 2008-04-11
Posts: 158
Website

Symbol Lookup Error - GTK Applications Fail to Run

I receive the following error for the majority of graphical applications I'm running on a laptop.

application: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: g_source_set_name

Those applications include,  but are not limited to, firefox, chromium, thunar and uzbl-brower. The one exception I have noticed is VLC. Clearly this is a product of the problem with the GTK library, but I still can't figure out how to solve the error. I found an Ubuntu thread that referenced the problem, but the solution did not help me. Any help would be greatly appreciated.

Edit: Corrected typo as noted by fphillips.

Last edited by filam (2010-10-17 10:14:44)

Offline

#2 2010-10-16 21:13:27

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: Symbol Lookup Error - GTK Applications Fail to Run

That's "libgdk" not "libgdj".

Reinstall package gtk2. It should have that symbol:

[fp@viron ~]$ readelf -s /usr/lib/libgdk-x11-2.0.so.0|grep g_source_set_name
   495: 00000000     0 FUNC    GLOBAL DEFAULT  UND g_source_set_name
[fp@viron ~]$ pacman -Qo /usr/lib/libgdk-x11-2.0.so.0
/usr/lib/libgdk-x11-2.0.so.0 is owned by gtk2 2.22.0-2

Last edited by fphillips (2010-10-16 21:14:51)

Offline

#3 2010-10-17 10:24:58

filam
Wiki Maintainer
From: Portland, ME
Registered: 2008-04-11
Posts: 158
Website

Re: Symbol Lookup Error - GTK Applications Fail to Run

Thank you for the comment fphillips. Reinstalling GTK2, which I tried earlier, doesn't seem to have any effect.

I had an error with Pacman, which I thought I fixed, but may be the real source of my aforementioned error.

When I (re)installed a package I was receiving the following error:

error: could not open file /var/lib/pacman/local/glibc-2.12.1-2/depends

I created a new file copied from another Arch Linux install, which removed the error, but may not have removed the problem.

Oddly readelf -s /usr/lib/libgdk-x11-2.0.so.0|grep g_source_set_name returns nothing on my functioning netbook, but returns the same output from your post on my broken laptop.

Last edited by filam (2010-10-17 10:30:22)

Offline

Board footer

Powered by FluxBB