You are not logged in.
Pages: 1
I installed rubygems and over gems I installed wxruby... then I wanted to run the first test project from here:
http://wxruby.rubyforge.org/wiki/wiki.p … ng_Started
well I added require "rubygems" to not to have add -rubygems parameter when trying to execute..
and this error comes up everytime I try to run it:
/usr/lib/ruby/gems/1.8/gems/wxruby-1.9.9-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-1.9.9-x86-linux/lib/wxruby2.so (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-linux/lib/wx.rb:12
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from wxrubyminimum.rb:4
The library is really not there... Then I tried to compile wxgtk on my own - worked perfect, but still there was no such library generated... is this a wxruby mistake or am I doing something wrong?
Last edited by icetonic (2008-12-03 20:23:44)
Offline
It might be that wxGTK does not build shared libraries by default. Have you tried
passing --enable-shared during the configure step?
Offline
[ignore this post]
Last edited by yossarianuk (2009-06-30 17:01:27)
Offline
I've tried to compile wxgtk with the --enable-mediactrl enabled as outlined
http://bugs.archlinux.org/task/14254?opened=4109&status[0]=
But the files libwx_gtk2u_media-2.8.so.0 is still not installed - i have tried --enabled-shared also...
libwx_gtk2u_media-2.6.so.0 is installed from the wxgtk-2.6 package....
[morgan@arch64 iplayer-dl]$ ruby -rubygems -Ilib bin/iplayer-dl-gui
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86_64-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_64-linux/lib/wxruby2.so (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86_64-linux/lib/wx.rb:12
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from ./lib/iplayer/gui/app.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from bin/iplayer-dl-gui:11
This works in other distros - gentoo / ubuntu ...
Last edited by yossarianuk (2009-06-30 17:04:18)
Offline
Is your system fully up-to-date?
You said that you have libwx_gtk2u_media-2.6.so.0 is on your system but ruby is trying to find libwx_gtk2u_media-2.8.so.0
The version of wxgtk on my system (from [extra]) is 2.8 which has a build date of 6th June so you might want to check your mirrors for an update. If you are rebuilding wxgtk as suggested in the bug report you might want to update your ABS tree to make sure you have the latest version of the PKGBUILD.
Offline
Hi
My System is up to date and I did an abs sync before...
I have 2 packages installed
extra/wxgtk 2.8.10.1-1 [installed]
wxGTK - GTK+ implementation of wxWidgets API for GUI
extra/wxgtk-2.6 2.6.4-2 [installed]
wxGTK - GTK+ implementation of wxWidgets API for GUI
I have fixed it however:-
The issue seems to be that the source that abs/arch is using is wxPython-src rather than wxgtk-src - its set by default in the pkgbuild
(I am on amd64 Arch linux if that helps...)
I manually compiled it from the arch linux source and it was missing, I then got the tar.gz file direct from the wxgtk homepage - compiled with the exact same options and it then includes the missing
libwx_gtk2u_media-2.8.so files....
Its like the arch package is missing them on purpose?
Anyway to use wxruby I have to use pacman -Rd wxgtk then compile the source version from the home page - its a bit messy...
Offline
Pages: 1