comp.lang.ada
 help / color / mirror / Atom feed
* Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so when gps is launched.
@ 2011-09-09  9:35 Thiago Holanda
  2011-09-09 15:31 ` Ludovic Brenta
  2011-09-10  1:40 ` onox
  0 siblings, 2 replies; 3+ messages in thread
From: Thiago Holanda @ 2011-09-09  9:35 UTC (permalink / raw)


Olá,

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so when gps is launched.
  2011-09-09  9:35 Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so when gps is launched Thiago Holanda
@ 2011-09-09 15:31 ` Ludovic Brenta
  2011-09-10  1:40 ` onox
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Brenta @ 2011-09-09 15:31 UTC (permalink / raw)


Thiago Holanda wrote:
> 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.

I don't know how to fix this specific error but, if all you want is to
run GPS and gnat (as opposed to building and configuring everyrhing by
hand), maybe you should try:

aptitude install gnat-gps

You'll get a somewhat older version of GPS (viz. 4.3) but no
configuration problems.

--
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so when gps is launched.
  2011-09-09  9:35 Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so when gps is launched Thiago Holanda
  2011-09-09 15:31 ` Ludovic Brenta
@ 2011-09-10  1:40 ` onox
  1 sibling, 0 replies; 3+ messages in thread
From: onox @ 2011-09-10  1:40 UTC (permalink / raw)


On Sep 9, 11:35 am, Thiago Holanda <thola...@gmail.com> wrote:
> Olá,
>
> 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 :)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-10  1:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-09  9:35 Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so when gps is launched Thiago Holanda
2011-09-09 15:31 ` Ludovic Brenta
2011-09-10  1:40 ` onox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox