1) ldd appears to report dependency on the 2.9.2 libs installed on this machine (ex libwx_gtk2_adv-2.9.so.2 => /usr/local/lib/libwx_gtk2_adv-2.9.so.2 )
2) I build Alien::wxWidgets by first setting the WX_CONFIG variable to point to the wx-config created by my recent 2.9.3 build of wxWidgets (this one is made but not installed, we have production software using the installed one at the moment). 3) the perl test of Alien you gave me returns... -L/home/brian_jones/wxWidgets-2.9.3/buildgtk/lib -lpthread -Wl,-rpath,/home/brian_jones/wxWidgets-2.9.3/buildgtk/lib -lwx_gtk2_adv-2.9 -lwx_gtk_core-2.9 -lwx_base-2.9 Brian Jones -----Original Message----- From: Mark Dootson [mailto:mark.doot...@znix.com] Sent: Thursday, April 26, 2012 1:03 PM To: wxperl-users@perl.org Subject: Re: Test error on Wx Hi, What does ldd '/home/brian_jones/.cpan/build/Wx-0.9906-KCu6yc/blib/arch/auto/lib/Wx.so' give you? How did you build Alien::wxWidgets. What does perl -MAlien::wxWidgets -e'print Alien::wxWidgets->libraries( qw( adv core base) ) . qq(\n);' give you ? Regards Mark On 26/04/2012 17:44, Brian Jones wrote: > Just noticed that I have an LD_LIBRARY_PATH variable in my environment. It > points at "/usr/sfw/lib:/usr/lib:/usr/local/lib". Should I add the > wxWidgets-2.9.3/buildgtk/lib directory to that? > > BCJ > > -----Original Message----- > From: Mark Dootson [mailto:mark.doot...@znix.com] > Sent: Thursday, April 26, 2012 11:35 AM > To: wxperl-users@perl.org > Subject: Re: Test error on Wx > > Hi, > > On 26/04/2012 16:14, Brian Jones wrote: >> # Failed test 'use Wx;' >> # at t/01_load.t line 6. >> # Tried to use 'Wx'. >> # Error: Can't load >> '/home/brian_jones/.cpan/build/Wx-0.9906-KCu6yc/blib/arch/auto/Wx/Wx.s >> o' for module Wx: /home/brian_jones/.cpan/build/Wx-0.9906-KCu6yc >> /blib/arc >> h/auto/Wx/Wx.so: undefined symbol: >> _ZThn44_N16wxAppConsoleBase11FilterEventER7wxEvent at > > What does > > ldd '/home/brian_jones/.cpan/build/Wx-0.9906-KCu6yc/blib/arch/auto/Wx/Wx.so' > > give you? Is is what you expect? > > Do you have any settings for LD_LIBRARY_PATH etc in your environment? > > Mark >