[wxruby-users] wxRuby 1.9.9 on SLES 10
Irlweg, Franz (ZNT)
Franz.Irlweg.ZNT at wacker.com
Thu Nov 13 06:08:52 EST 2008
Hi Alex,
not yet done the install ..
After compiling and installing wxruby1.9.9
- ldd wxruby2.so is ok !!!
but:
require 'wx'
LoadError: /usr/local/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so:
undefined symbol: mspack_destroy_chm_decompressor -
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so
from /usr/local/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so
from /usr/local/lib/ruby/site_ruby/1.8/wx.rb:12
from (irb):4:in `require'
from (irb):4
from :0
Best regards,
Franz
-----Original Message-----
From: wxruby-users-bounces at rubyforge.org
[mailto:wxruby-users-bounces at rubyforge.org] On Behalf Of Alex Fenton
Sent: Monday, November 10, 2008 2:52 PM
To: General discussion of wxRuby
Subject: Re: [wxruby-users] wxRuby 1.9.9 on SLES 10
Hi Franz
Irlweg, Franz (ZNT) wrote:
> couldn't find a unicode build of wxwidgets.
>
I don't know about compatibility between SLES and OpenSuse or whether
you're able to install 3rd party rpms, but:
http://software.opensuse.org/search?baseproject=openSUSE%3A10.3&p=1&q=wx
Widgets
> After installing
> - wxWidgets-2.8.9 rpm
> - wxWidgets-gl-2.8.9 rpm
>
I don't think you need these packages if you're compiling and installing
wxWidgets yourself. wxGTK should have everything you need in it.
> - wxGTK-2.8.9 with ( config --enable-unicode) , make, make installthe
>
> the libraries can be found, but some version information is wrong:
>
> ldd wxruby2.so
> ./wxruby2.so: /usr/lib/libwx_gtk2u_gl-2.8.so.0: no version information
> available (required by ./wxruby2.so)
>
Sorry, this error isn't familiar to me. But I was a bit surprised that
your self-built version looks to be in /usr/lib - I would have expected
it to be in /usr/local/lib or /opt/lib. Might be worth checking again
what wx-config --libs returns, and that the wxRuby build is pointing to
the right libs.
Perhaps you might post the first few lines returned when running 'rake'
to build wxRuby, summarising the kind of build to be done and the
classes that will be excluded (eg PrinterDC is always skipped on Linux).
> - executing a example ...
> ruby /data/install/grid.rb
>
/usr/local/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-linux/lib/wxruby2.so:
>
/usr/local/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-linux/lib/wxruby2.so:
> symbol _ZTI6wxGCDC, version WXU_2.8 not defined in file
>
I can find a few references to this error message on the web with
wxWidgets and various other packages and software, but no decisive
solution.
The fact that the error is occurring with GCDC makes me wonder if the
problem is specific to that class. Did you build wxWidgets with
--enable-graphics_ctx? If you didn't, you might try this - especially if
rake is not reporting that support for GCDC, GraphicsContext etc is
going to be skipped.
See also the recommended Linux options at
http://wxruby.rubyforge.org/wiki/wiki.pl?HowToBuildWxWidgets
cheers
alex
_______________________________________________
wxruby-users mailing list
wxruby-users at rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
If you are not the intended recipient, you are hereby notified that any use, dissemination, or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify us at once so This communication and any files or attachments transmitted with it may contain information that is copyrighted or confidential and exempt from disclosure under applicable law. It is intended solely for the use of the individual or the entity to which it is addressed.
that we may take the appropriate action and avoid troubling you further.
Thank you for your cooperation. Please contact your local IT staff or email info at siltronic.com if you need assistance.
Siltronic AG, Sitz Muenchen, Hanns-Seidel-Platz 4, 81737 Muenchen, Germany. Amtsgericht Muenchen HRB 150884
Vorstand: Wilhelm Sittenthaler (Vorsitz), Gerhard Brehm, Paul Lindblad, Joachim Manke, Michael Peterat. Vorsitzender des Aufsichtsrats: Rudolf Staudigl
More information about the wxruby-users
mailing list