[phenixbb] gtk error

Nathaniel Echols NEchols at lbl.gov
Mon Mar 15 19:43:03 PDT 2010


On Mar 15, 2010, at 7:18 PM, Francois Berenger wrote:
> Nathaniel Echols wrote:
>> On Mar 15, 2010, at 3:22 PM, Rafael Counago wrote:
>>> I am running PHENIX on ubunut (karmic koala, 32 bits).  On start up I am getting the following message:
>>> 
>>> Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
>>> 
>>> Any ideas how to solve this issue?
> 
> According to this website:
> http://www.rpmfind.net/linux/rpm2html/search.php?query=libcanberra-gtk-module.so&submit=Search+...&system=&arch=
> 
> If you install the rpm libcanberra-gtk2 maybe it will remove this message.

RPM = "Redhat Package Manager".  Ubuntu is Debian-based, and uses a different package management system.

Longer answer: I think the problem is actually a conflicting GTK configuration somewhere on the host system.  We package PHENIX with a full installation of GTK (to ensure that it runs on as many systems as possible), but it does not include the canberra module, and the module isn't even present on the system we use to build the binary installer for 32-bit Linux.  Somehow GTK is being told to load the module anyway, and it can't find it in the expected modules directory (again, in PHENIX).  I actually have it installed on an Ubuntu system at work and PHENIX still gives me the error message, because the module is installed as part of the system's copy of GTK, not PHENIX's.

In theory we could eliminate the error message by including libcanberra in the PHENIX installer, but this is really overkill, and the installer is already massive and complex.

--------------------
Nathaniel Echols
Lawrence Berkeley Lab
510-486-5136
NEchols at lbl.gov








More information about the phenixbb mailing list