# Build problems, part II

**URL:** <https://www.ruby-forum.com/t/build-problems-part-ii/124347>\
**Category:** wxRuby\
**Created:** [December 27, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/build-problems-part-ii/124347 "2007-12-27T20:57:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratkins](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/bcef8e/32.png) [@ratkins](https://www.ruby-forum.com/u/ratkins)\
**Post date:** [December 27, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/build-problems-part-ii/124347/1 "2007-12-27T20:57:22Z")

</div>

This is a follow-up from a recent email where I described problems in  
the  
rakefile system.

I got the library to build, but it has problems with unresolved symbols.  
Here is the list of symbols that are unresolved from wx:

undefined symbol: \_ZN12wxStringBase8InitWithEPKcjj  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZNK8wxString3CmpEPKc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZNK8wxString9CmpNoCaseEPKc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN12wxStringBaseaSEPKc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN5wxLog18IsAllowedTraceMaskEPKc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN12wxWizardPageC2EP8wxWizardRK8wxBitmapPKc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN12wxWizardPage6CreateEP8wxWizardRK8wxBitmapPKc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN13wxXmlResource8GetXRCIDEPKci  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_Z12wxLogMessagePKcz  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_Z11wxLogStatusPKcz  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_Z11wxLogStatusP7wxFramePKcz  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_Z12wxLogWarningPKcz  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_Z10wxLogErrorPKcz  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_Z14wxFileSelectorPKcS0\_S0\_S0\_S0\_iP8wxWindowii  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN5wxApp10InitializeERiPPc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN8wxWindow12ApplyToolTipEP12\_GtkTooltipsPKc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN9wxListBox12ApplyToolTipEP12\_GtkTooltipsPKc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN8wxColour10FromStringEPKc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN5wxLog5DoLogEmPKcl  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN5wxLog11DoLogStringEPKcl  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)  
undefined symbol: \_ZN10wxRadioBox12ApplyToolTipEP12\_GtkTooltipsPKc  
(/home/rwa/linux-packages/ruby-1.8.6  
/lib/ruby/site\_ruby/1.8/i686-linux/wxruby2.so)

I built wxGTK 2.8.7 from source using the recommended flags from the  
installation instructions. Any ideas on what’s going on here? The gtk  
libraries were statically linked into the library, and I nm’ed them and  
indeed these symbols are not defined in them, but slight variations are.  
For example, there is the missing symbol:

Z12wxLogMessagePKcz

and I have:

nm libwx\*.a | grep wxLogMessage  
000002ac T \_Z12wxLogMessagePKwz

(notice ‘wz’ not ‘cz’ on the end)

Is this a version mismatch with wxGtk possibly, with small changes to  
the  
interface? Do I need to go to specifically 2.8.6, not 2.8.7?
