Hi, > I am using Fedora 7, and I have installed wxWidgets 2.8.7 successfully from > source, then tried to install wxPerl from svn. wxPerl passes with make , but > make test generates the following error, then fills all available memory > (then freezes my computer!). > > __OUTPUT__: > > make[1]: Leaving directory `/home/sam/Download/cvs/wxPerl/ext' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/01_load.............NOK 1 > # Failed test 'use Wx;' > # in t/01_load.t at line 6. > # Tried to use 'Wx'. > # Error: Can't load > '/home/sam/Download/cvs/wxPerl/blib/arch/auto/Wx/Wx.so' for module Wx: > /home/sam/Download/cvs/wxPerl/blib/arch/auto/Wx/Wx.so: undefined symbol: > _ZN8wxWizard9SetBitmapERK8wxBitmap at > /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230. > # at (eval 3) line 2 > # Compilation failed in require at (eval 3) line 2. > # BEGIN failed--compilation aborted at t/01_load.t line 6. > "wxYES" is not exported by the Wx module > Can't continue after import errors at > /home/sam/Download/cvs/wxPerl/blib/lib/Wx.pm line 76 > BEGIN failed--compilation aborted at t/01_load.t line 8. > Deep recursion on subroutine "Wx::AUTOLOAD" at > /home/sam/Download/cvs/wxPerl/blib/lib/Wx.pm line 46. > > [then i hit ctrl+c to stop before mem runs out] > > /__OUTPUT__ > > I have used many search engines to find the undefined symbol: > _ZN8wxWizard9SetBitmapERK8wxBitmap, to no avail. > Could it be a conflicting library?
It could be mismatched compiler, for example if wxWidgets and wxPerl were compiled with different versions of GCC. Since you have compiled both from source, it's unlikely. Another possibility is that you have multiple wxWidgets versions installed, you compile against one, and try to load against the other. You could try to run ldd /path/to/Wx.so and see if it picks up the library you expect. Mattia