On Monday 27 September 2010 04:21 AM, Vladimir Lettiev wrote: > On Sun, Sep 26, 2010 at 08:33:41PM +0200, Gabor Szabo wrote: > >> On Sun, Sep 26, 2010 at 2:48 PM, Jatin<daveyja...@gmail.com> wrote: >> >>>> >>> Thanks Claudio, Installed g++ and then Wx. Padre IDE is opening now. >>> >> I am happy that this issue is now resolved but there is some very >> serious issue in Padre or more likely in WxPerl that breaks the >> installation of Wx on certain actions. >> We have experienced similar issues in the last few weeks but they did >> not seem to be repatable. >> >> Jatin, you would do a HUGE service to the project if you could track >> down which actions cause this problem? >> > https://bugs.launchpad.net/ubuntu/+source/padre/+bug/485012/comments/4 > ...and do not start the directory view... > [Jatin] I tried doing this and making sure i do not start the directory view in the IDE but still i got kernel crashes two times. Had to manually reboot my laptop again. > > There is a simple way to detect a problem in your perl Wx installation: > > $ LD_BIND_NOW=1 perl -MWx > [Jatin] This does not return any errors for me , Just shows up like this and there is no response in the shell *********************************************************** ja...@jatin-laptop:~$ LD_BIND_NOW=1 perl -MWx
^C ja...@jatin-laptop:~$ LD_BIND_NOW=1 perl -MWx ^C *********************************************************** > On ubuntu this return an error: > Can't load '/usr/lib/perl5/auto/Wx/Wx.so' for module Wx: > /usr/lib/perl5/auto/Wx/Wx.so: symbol _ZN14wxTreeCtrlBase11CollapseAllEv, > version WXU_2.8 not defined in file libwx_gtk2u_core-2.8.so.0 with link time > reference at /usr/lib/perl/5.10/DynaLoader.pm line 193. > at - line 0 > Compilation failed in require. > BEGIN failed--compilation aborted. > > This is a relocation error: > > $ readelf -W -s /usr/lib/libwx_gtk2u_core-2.8.so.0 | grep > _ZN14wxTreeCtrlBase11CollapseAllEv > 2119: 00000000002e1970 50 FUNC GLOBAL DEFAULT 13 > _ZN14wxTreeCtrlBase11CollapseAllEv@@WXU_2.8.1 > > As you can see version WXU_2.8 not defined (defined @@WXU_2.8.1) > > Other relocation errors in Wx.so: > $ ldd -d -r /usr/lib/perl5/auto/Wx/Wx.so 2>&1 | grep ^symbol > > symbol _ZN14wxTreeCtrlBase11CollapseAllEv, version WXU_2.8 not defined in > file libwx_gtk2u_core-2.8.so.0 with link time reference > (/usr/lib/perl5/auto/Wx/Wx.so) > symbol _ZN8wxWizard9SetBitmapERK8wxBitmap, version WXU_2.8 not defined in > file libwx_gtk2u_adv-2.8.so.0 with link time reference > (/usr/lib/perl5/auto/Wx/Wx.so) > symbol _ZNK12wxSearchCtrl18GetDescriptiveTextEv, version WXU_2.8 not defined > in file libwx_gtk2u_core-2.8.so.0 with link time reference > (/usr/lib/perl5/auto/Wx/Wx.so) > symbol _ZNK14wxTreeCtrlBase7IsEmptyEv, version WXU_2.8 not defined in file > libwx_gtk2u_core-2.8.so.0 with link time reference > (/usr/lib/perl5/auto/Wx/Wx.so) > symbol _ZNK13wxMenuBarBase16GetMenuLabelTextEm, version WXU_2.8 not defined > in file libwx_gtk2u_core-2.8.so.0 with link time reference > (/usr/lib/perl5/auto/Wx/Wx.so) > symbol _ZNK9wxMenuBar12GetMenuLabelEm, version WXU_2.8 not defined in file > libwx_gtk2u_core-2.8.so.0 with link time reference > (/usr/lib/perl5/auto/Wx/Wx.so) > symbol _ZN14wxTreeCtrlBase19CollapseAllChildrenERK12wxTreeItemId, version > WXU_2.8 not defined in file libwx_gtk2u_core-2.8.so.0 with link time > reference (/usr/lib/perl5/auto/Wx/Wx.so) > symbol _ZN12wxSearchCtrl18SetDescriptiveTextERK8wxString, version WXU_2.8 not > defined in file libwx_gtk2u_core-2.8.so.0 with link time reference > (/usr/lib/perl5/auto/Wx/Wx.so) > > > To fix this errors simple rebuild of perl-Wx required: > > $ sudo apt-get build-dep libwx-perl > $ apt-get source libwx-perl > $ cd libwx-perl-* > $ dpkg-buildpackage -rfakeroot > $ sudo dpkg -i ../libwx-perl_* > > > $ LD_BIND_NOW=1 perl -MWx -e 'print "ok"' > ok > > _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev