Libwx_gtk2u_media not found

bonjour,

Je viens d’installer le dernier netbeans, et en passant par sont
gestionnaire de gem, d’installer wxruby. Problème j’essai de l’utiliser
avec le simple hello world fournis sur le site et netbeans me retourne :

/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86-linux/lib/wxruby2.so:
libwx_gtk2u_media-2.8.so.0: cannot open shared object file: No such file
or directory -
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86-linux/lib/wxruby2.so
(LoadError)

Je précise je travail sous archlinux(linux), et ai recherché aprés un
quelconque fichier libwx_gtk2u_media mais je n’ai rien trouvé :-s
Une idée de comment je pourrais régler cela?

Hello,

sorry for my english, it’s not my first language :-o

I have just install the last netbeans, and gem wxruby with him but when
I want test a basic “hello world”, I got this message :

/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86-linux/lib/wxruby2.so:
libwx_gtk2u_media-2.8.so.0: cannot open shared object file: No such file
or directory -
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86-linux/lib/wxruby2.so
(LoadError)

I work under archlinux(linux) and the file is not on my computer :-s
Anyone have an idea or solutions?

On Thu, Aug 27, 2009 at 4:08 AM, Julien Letroll
[email protected]wrote:

(LoadError)
I want test a basic “hello world”, I got this message :
Posted via http://www.ruby-forum.com/.


wxruby-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wxruby-users

Bonjour Julien,

Il est bien, comme nous l’avons un autre sur la liste qui parle le
français,
et nous faisons de notre mieux pour l’aider aussi. Sebastien Sorry, I’ll
get
back à vos messages sous peu.

Quant à votre problème Julien, la gemme par défaut pour Linux construite
sur
Ubuntu, s’appuie contre le libwx_gtk2u_media bibliothèque, qui est basé
sur
GStreamer 0.10 bibliothèque. C’est ce qui vous permet de lire des films,
et
musique avec wxRuby. Toutefois, si vous n’avez pas installé cette
bibliothèque, qui, de l’apparence de celui-ci vous n’avez pas la gemme
par
défaut ne sera pas installé.

Je ne connais pas le gestionnaire de paquet pour ArchLinux, et ne peut
pas
dire avec certitude ce que vous devez faire pour installer ce paquet par
l’intermédiaire du gestionnaire de paquets, cependant, si vous avez un
compilateur comme GCC, alors vous pouvez télécharger le code source pour
wxGTK, et le compiler, et une version de wxRuby contre les nouvelles
bibliothèques compilées pour wxGTK.

La compilation des instructions peuvent être trouvés ici:
http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSourceMalheureusement,
il est en anglais, mais les instructions doivent être
suffisamment clairs pour qu’ils traduisent avec Google Language Tools
assez
facilement. Il fournira des instructions sur la façon de construire la
bibliothèque wxRuby, ainsi que la Bibliothèque wxGTK sur les systèmes
d’exploitation Linux.

I hope this helps,

Mario


Hello Julian,

It is alright, as we have another on the list that speaks french, and we
try
our best to assist him as well. Sorry sebastien, I’ll get back to your
messages shortly.

As to your problem Julian, the default gem for linux built on Ubuntu,
builds
against the libwx_gtk2u_media library, which is based upon GStreamer
0.10
library. It is what allows you to play movies, and music with wxRuby.
However, if you do not have this library installed, which from the looks
of
it you don’t, the default gem will not install.

I don’t know the package manager for ArchLinux, and can’t say for
certain
what you need to do to install this package through the package manager,
however, if you have a compiler such as GCC, then you can download the
source code for wxGTK, and compile it, and a version of wxRuby against
the
newly compiled libraries for wxGTK.

Compiling instructions can be found here:
http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource
Unfortunately, it is in English, but the instructions should be clear
enough
that they will translate with Google Language Tools fairly easily. It
will
provide instructions on how to build the wxRuby library, as well as the
wxGTK Library on Linux operating systems.

I hope this helps,

Mario