[wxruby-users] wxRuby 1.9.9 released
Alex Fenton
alex at pressure.to
Thu Nov 6 09:37:39 EST 2008
Hi Franz
Irlweg, Franz (ZNT) wrote:
> Hello together,
>
> I tried to install wxruby 1.9.9 () on a SLES10 Linux server.
>
> - First I installed the wxWidgets rpm.
> - then the wxruby gem
>
> When trying to start an example I get the following error:
> /usr/local/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-linux/lib/wxruby2.so:
> libwx_gtk2u_gl-2.8.so.0: cannot open shared object file: No such
> file or directory -
...
>
> ldd wxruby2.so
>
> ./wxruby2.so: /usr/lib/libwx_gtk2u_stc-2.8.so.0: no version information
> available (required by ./wxruby2.so)
> linux-gate.so.1 => (0xffffe000)
> libwx_gtk2u_stc-2.8.so.0 => /usr/lib/libwx_gtk2u_stc-2.8.so.0
> (0xb761c000)
> libwx_gtk2u_gl-2.8.so.0 => not found
> libwx_gtk2u_media-2.8.so.0 => not found
> libwx_gtk2u_richtext-2.8.so.0 => not found
... etc
Thanks for the report. I think the problem is that the Ubuntu wxWidgets
that the gem was built against was compiled in 'multilib' form - ie with
each group of features in a separate .so. It looks like the .rpm you
have was built 'monolithic' - ie with everything stuffed into a single
.so. Could you see what "wx-config --libs" returns please?
I'm not sure how we get around this if different distros build in
different ways. How did you get on previously with the statically-linked
gems?
cheers
alex
More information about the wxruby-users
mailing list