Here a stripped down wxperl xrc app and the perlapp parameters. This is built on linux and seg faults when built in perlapp. Thanks for taking a look.

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/wxmain.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 --clean --force --exe XRC/dbitest --perl /home/jeff/Activestate/perl510/bin/perl XRC/dbitest.pl



Mark Dootson wrote:
Hi,

Looks like you're missing a necessary bound library.

Should have:

libwx_baseu-2.8.so.0
libwx_baseu_net-2.8.so.0
libwx_baseu_xml-2.8.so.0
libwx_gtk2u_adv-2.8.so.0
libwx_gtk2u_core-2.8.so.0
libwx_gtk2u_html-2.8.so.0
libwx_gtk2u_xrc-2.8.so.0

also, looking at how libraries are loaded, you might need to do
use Wx::Html;

before you do

use Wx::XRC

If this doesn't help, if you could send me a simplified example that fails, I'll take a look. I've never used xrc so have not got anything readily available to test.

Mark


On 25/03/2010 14:31, perltk wrote:
Running Linux with latest everything. Wxperl working great with xrc.

Trying to build standalone with latest perlapp. Binding all the required
libraries.
Seems to work fine with straight relatively simplewxperl code , but when
I try using a
xrc file always get immediate seg fault running after build.

Any special consideration for this combo ?



Attachment: dbitest_dir.tar.gz
Description: application/gzip

Reply via email to