Bug 432201 - gnome-do hotkey doesn't work due to bad LD_LIBRARY_PATH on launcher script
Summary: gnome-do hotkey doesn't work due to bad LD_LIBRARY_PATH on launcher script
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-do
Version: 8
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: David Nielsen
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-02-09 19:45 UTC by Andre Costa
Modified: 2008-04-01 21:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-04-01 21:36:20 UTC

Attachments (Terms of Use)

Description Andre Costa 2008-02-09 19:45:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv: Gecko/20071213 Fedora/ Firefox/

Description of problem:
Launching gnome-do with the provided /usr/bin/gnome-do script causes this error message on the console:

2/9/2008 5:36:39 PM [Error]: libtomboy not found - keybindings will not work.

As a result, gnome-do hotkey doesn't work.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.run gnome-do on the terminal

Actual Results:
This appears on the console, among other messages:

2/9/2008 5:36:39 PM [Error]: libtomboy not found - keybindings will not work.

As a result, <Super>space hotkey doesn't bring up gnome-do

Expected Results:
Configured hotkey <Super>space should bring up gnome-do.

Additional info:
The /usr/bin/gnome-do script defines LD_LIBRARY_PATH like this:

TOMBOY_LIB=`pkg-config --variable=libdir tomboy-addins`/tomboy

However, here on my system "pkg-config --variable=libdir tomboy-addins" returns nothing, which in turn leads to libtomboy.so not being found.

Changing the above line to


solves the problem.

Maybe some additional package is missing as required by gnome-do RPM?

Comment 1 David Nielsen 2008-02-21 16:05:56 UTC
Thank you for your report, I apologize for the delay, the bug seems quite simple
- clearly we can't use pkg-config if the package is not installed. I have queued
a build that should fix this here:


This bugreport will be automatically closed once the update hits the F-8 repo,
if it does not fix your issue please reopen.

Comment 2 Fedora Update System 2008-02-21 16:07:28 UTC
gnome-do-0.3.1-2.fc8 has been submitted as an update for Fedora 8

Comment 3 Andre Costa 2008-02-21 16:40:02 UTC
Hi David,

thks for the fix, will try it as soon as I can (at work now). I'll report any
remaining problems back here.

Comment 4 David Nielsen 2008-02-21 17:56:26 UTC
please open new bug reports for new problems, it's easier for me to track that way.

Comment 5 Andre Costa 2008-02-22 02:14:37 UTC
Sure. By "any remaining problems" I meant any remaining problems related to this
bug ;-)

Comment 6 Fedora Update System 2008-02-26 00:29:06 UTC
gnome-do-0.3.1-2.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gnome-do'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2028

Comment 7 Konstantin Ryabitsev 2008-02-27 01:25:36 UTC
Doesn't seem to do the trick.

2/26/2008 8:21:36 PM [Error]: libtomboy not found - keybindings will not work.
2/26/2008 8:21:36 PM [Info]: Binding key '<Super>space' for
'/apps/gnome-do/preferences/key_binding'. You may change this keybinding with
Configuration Editor (gconf-editor).
2/26/2008 8:21:36 PM [Error]: Could not add global keybinding: libtomboy

icon@mini:[~]$ rpm -q gnome-do

Comment 8 David Nielsen 2008-02-29 19:26:13 UTC
can you give me the output from rpm -q pkgconfig ?

Comment 9 David Nielsen 2008-02-29 20:03:35 UTC
Also if you could try the build here. I fixed a few more libdir bugs.


Comment 10 Konstantin Ryabitsev 2008-03-06 01:52:31 UTC
No luck with the new build.

icon@mini:[~]$ rpm -q pkgconfig gnome-do

3/5/2008 8:49:19 PM [Error]: libtomboy not found - keybindings will not work.
3/5/2008 8:49:19 PM [Info]: Binding key '<Super>space' for
'/apps/gnome-do/preferences/key_binding'. You may change this keybinding with
Configuration Editor (gconf-editor).
3/5/2008 8:49:19 PM [Error]: Could not add global keybinding: libtomboy

Comment 11 Konstantin Ryabitsev 2008-03-06 01:57:22 UTC
Looking at /usr/bin/gnome-do, I see that it still does the same thing, doing
pkg-config against tomboy-addins. Here's what that does for me:

icon@mini:[~]$ TOMBOY_LIB=`pkg-config --variable=libdir tomboy-addins`/tomboy
icon@mini:[~]$ echo $LD_LIBRARY_PATH

Comment 12 David Nielsen 2008-03-06 10:12:57 UTC
What concerns me here is that this appears to be a real problem but I can't
reproduce it on my machines nor can anyone I normally turn to. All the
dependencies are worked out, the default install here provides the correct
information.. and yet it works for me but not for you.

TOMBOY_LIB=`pkg-config --variable=libdir tomboy-addins`/tomboy


Can you attach /usr/lib64/pkgconfig/tomboy-addins.pc ?

Comment 13 Andre Costa 2008-03-06 12:40:27 UTC
Hi David,

here's what appears on my computer:

~ echo `pkg-config --variable=libdir tomboy-addins`/tomboy

~ cat /usr/lib64/pkgconfig/tomboy-addins.pc

Name: Tomboy Addin Library
Description: Library providing the interfaces for Tomboy addins
Requires: gtk-sharp-2.0
Version: 0.8.2


Comment 14 David Nielsen 2008-03-06 13:16:01 UTC
boggles the mind, the libdir variable is set to /usr/lib64 but returns void.

can you try pkg-config --variable=libdir for a few other .pc files in /usr/lib64
and check that they also return incorrectly. This seems more and more like
pkgconfig has a naughty naughty bug.. 

Comment 15 Andre Costa 2008-03-06 15:26:04 UTC
I executed this:

for f in /usr/lib64/pkgconfig/*.pc; do lib=$(pkg-config --variable=libdir $f);
test -z "$lib" && echo $f; done

and here are the files for which pkc-config returns an empty string:


BTW I have 167 .pc files on /usr/lib64/pkgconfig, all the others return
something (even though it's not always '/usr/lib64')


Comment 16 David Nielsen 2008-03-06 16:08:49 UTC
gnome-do relies on pkg-config returning correctly, this doesn't smell like my
bug, I'm reassigning this to pkgconfig.

Comment 17 David Nielsen 2008-03-06 16:09:37 UTC
and add myself as cc

Comment 18 Matthias Clasen 2008-03-06 18:10:16 UTC
The problem you see is most likely that you need to set

But it is categorically wrong to use pkg-config in a script like that.
pkg-config is a build tool, not a runtime configuration tool.

Comment 19 Matthias Clasen 2008-03-06 18:11:22 UTC
Also, I'm quite dubious about using libtomboy for global keybindings, but that
is another story.

Comment 20 David Nielsen 2008-03-06 19:15:38 UTC
yeah I tried talking to upstream about that, they are entirely new to the Linux
way of doing things so there is a lot of stuff they have to learn.. they'll get
there eventually.

Comment 21 David Nielsen 2008-03-29 13:28:28 UTC
back to gnome-do. I bumped to which contains many fixes and would love
some testing, my main machine is down for the count with a rawhide X meltdown so
I haven't queued it in the updates system yet but you can find it here:


Comment 22 Peter Gordon 2008-03-30 22:22:03 UTC
Re-assigning back to gnome-do.

David, your build seems to fix this issue for me. After upgrading to the
Koji-built package and rebooting, the Win+Space hotkey (default) works nicely
again, and GNOME Do does as it should. =)

Would you please push this as an update through Bodhi?
https://admin.fedoraproject.org/updates Thanks!

Comment 23 Fedora Update System 2008-03-31 11:09:49 UTC
gnome-do- has been submitted as an update for Fedora 8

Comment 24 Fedora Update System 2008-04-01 21:36:16 UTC
gnome-do- has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.