perlapp --bind
"libwx_baseu-2.8.so.0[file=../perl510/site/lib/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_baseu-2.8.so.0,extract,mode=755]" --bind
"libwx_gtk2u_adv-2.8.so.0[file=../perl510/site/lib/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_gtk2u_adv-2.8.so.0,extract,mode=755]"
--bind
"libwx_gtk2u_core-2.8.so.0[file=../perl510/site/lib/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_gtk2u_core-2.8.so.0,extract,mode=755]"
--bind "wxmain.so[file=../perl510/site/lib/auto/Wx/Wx.so,extract,mode=755]" --bind
"libwx_gtk2u_xrc-2.8.so.0[file=../perl510/site/lib/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_gtk2u_xrc-2.8.so.0,extract,mode=755]"
--bind "dbitest.xrc[file=XRC/dbitest.xrc,text,extract,mode=664]" --lib XRC --norunlib --force --exe XRC/dbitest --perl
/home/jeff/Activestate/perl510/bin/perl-static XRC/dbitest.pl
Mark Dootson wrote:
Hi,
The segmentation fault was cause by a bug in Wx::Perl::Packager
(trying to load 'adv' from the wrong place when requested as plugin by
XRC).
Fixed version Wx::Perl::Packager 0.24 is available from PPM site and
making its way to CPAN.
A couple of things I noticed about your perlapp command
1)
--bind
"wxmain.so[file=../perl510/site/lib/auto/Wx/wxmain.so,extract,mode=755]"
I would have expected this to read
--bind
"wxmain.so[file=../perl510/site/lib/auto/Wx/Wx.so,extract,mode=755]"
As you have it, I'd expect PerlApp not to find the bound library, and
your app would seg fault on exit.
2)
You're using the --clean option. I've had problems with this in the
past - but maybe it works now that we're loading Wx.so from a
different name / location
Thanks for the reports. Hope all works for you now.
Mark