From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b81abc07ce43a5bf X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!i2g2000yqm.googlegroups.com!not-for-mail From: onox Newsgroups: comp.lang.ada Subject: Re: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so when gps is launched. Date: Fri, 9 Sep 2011 18:40:06 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7af14d8d-5023-42f1-a8e6-08ea994c8ea2@i2g2000yqm.googlegroups.com> References: NNTP-Posting-Host: 82.139.123.174 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1315619201 5299 127.0.0.1 (10 Sep 2011 01:46:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 10 Sep 2011 01:46:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i2g2000yqm.googlegroups.com; posting-host=82.139.123.174; posting-account=BtkjvAoAAADwEquGb07eykXfyiDMOxfl User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKUARELSC X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.157 Safari/535.1,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20888 Date: 2011-09-09T18:40:06-07:00 List-Id: On Sep 9, 11:35=A0am, Thiago Holanda wrote: > Ol=E1, > > I am using the Ubuntu 11.04 and I downloaded and installed the gnat- > gpl-2011-x86_64-pc-linux-gnu-bin.tar.gz. > > When i launch the gps, i have this error: > > thiago@thiago-micro:~$ gps > Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra- > gtk-module.so: cannot open shared object file: No such file or > directory > > The gps works even this error, but i would like to resolve it. > > So does anyone have an idea to fix it? it sounds environment variable. > > Thank you for help, > > Thiago My guess is that gps modifies the LD_LIBRARY_PATH variable so that gps_exe (binary executed by gps) links to the .so files provided by GPS instead of linking to your system's .so files. It seems, at least here, GPS doesn't provide libcanberra-gtk-module.so. I'm not on Debian/ ubuntu so I have to run gps_exe instead so that it links with my system .so files; it's really evil but without it GPS looks very ugly. But in your case the best thing would be to install GPS via your package manager; so do what Ludovic said :)