wx on Ubuntu 10.10 doesn't work

  • Thread starter Rüdiger Brahns
  • Start date

R

Rüdiger Brahns

Hello

I just installed wx with

sudo gem install wxruby
(and later also tried sudo gem install wxruby-ruby19)

Ruby version is 1.9.2.

ruby -e 'require "wx"'

Gave the folllowing error:

<internal:lib/rubygems/custom_require>:29:in `require':
libwx_gtk2u_stc-2.8.so.0: cannot open shared object file: No such file
or directory -
/usr/local/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from
/usr/local/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wx.rb:12:in
`<top (required)>'
from <internal:lib/rubygems/custom_require>:33:in `require'
from <internal:lib/rubygems/custom_require>:33:in `rescue in
require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from -e:1:in `<main>'

Then I did:

sudo ln -s /usr/lib/libwx_gtk2u_stc-2.8.so.0
/usr/local/lib/ruby/1.9.1/i686-linux/libwx_gtk2u_stc-2.8.so.0

Now it complains in the same way as before about a missing
libwx_gtk2u_media-2.8.so.0 file. There is a
/usr/lib/libwx_gtk2u_media-2.6.so.0 but not for 2.8.

Any idea?

Thanks in advance, R.
 
Ad

Advertisements

Q

Quintus

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 08.12.2010 23:06, schrieb Rüdiger Brahns:
Now it complains in the same way as before about a missing
libwx_gtk2u_media-2.8.so.0 file. There is a
/usr/lib/libwx_gtk2u_media-2.6.so.0 but not for 2.8.

Any idea?

Thanks in advance, R.

I already had a lot of fun with this. Have a look at this thread:
http://www.ruby-forum.com/topic/218047

But if you solved that, you'll run into a couple of other problems. At
the moment it's quite a challenge to get wxRuby up and running on Ubuntu
Maverick (one of the reasons why I switched to Arch Linux). If you want
to know more, have a look at http://www.ruby-forum.com/topic/260671 and
Mario Steele's reply thread at http://www.ruby-forum.com/topic/330026 .

Additionally I suggest to post wxRuby questions over at the wxRuby
forum: http://www.ruby-forum.com/forum/wxruby .

Vale,
Marvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNAQEZAAoJEGrS0YjAWTKVvPcH/32nbYth7Vz3f9wCqSygsems
fbA1UH+oxIZD/dpkg+i9NAnW0hZ4+UVRtpKC7NTblKbZccsTpobuEOprHmQhTBXq
XiJgEWVS9dz1KSBkSL+uom2aqMxWQIfz/9wGP69i7iYOK0lDN0u5JFs2/vRBUN8o
G0LLSLWk81+aSm4a6IkLTvGE+WLOBBmITmZpX35hHjSZBRuRyEnsaLTcm6BxpH3K
ciqjN5Pw6oX+SN6A/K3/F6AGtYo8nD6jnRXlmDIfqSMQNw5VJbl3yymA2eUlILgM
9z19PcO8IKHGkWDjHlBG28JUAEf0OHD6WkFqDA6GLiZqLg5AxDiSHN/gxPSt+s4=
=lMuT
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top