# Libwx\_gtk2u\_media not found

**URL:** <https://www.ruby-forum.com/t/libwx-gtk2u-media-not-found/174477>\
**Category:** wxRuby\
**Created:** [August 27, 2009, 10:08am UTC](https://www.ruby-forum.com/t/libwx-gtk2u-media-not-found/174477 "2009-08-27T10:08:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![letroll](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/46a35a/32.png) [@letroll](https://www.ruby-forum.com/u/letroll)\
**Post date:** [August 27, 2009, 10:08am UTC](https://www.ruby-forum.com/t/libwx-gtk2u-media-not-found/174477/1 "2009-08-27T10:08:44Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![letroll](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/46a35a/32.png) [@letroll](https://www.ruby-forum.com/u/letroll)\
**Post date:** [August 27, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/libwx-gtk2u-media-not-found/174477/2 "2009-08-27T23:44:40Z")

</div>

On Thu, Aug 27, 2009 at 4:08 AM, Julien Letroll  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> (LoadError)  
> I want test a basic “hello world”, I got this message :  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> * * *
> 
> wxruby-users mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [http://rubyforge.org/mailman/listinfo/wxruby-users](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](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](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
