Gabor Szabo wrote:
On Sun, Nov 29, 2009 at 1:57 PM, Mattia Barbon <mattia.bar...@libero.it> wrote:
Gabor Szabo wrote:
Hi,
Now I moved it to an Ubuntu 9.04 and I get the following error:
Can't load
'/home/gabor/perl-5.10.1-xl-0.01/perl/lib/site_perl/5.10.1/i686-linux-thread-multi/auto/Wx/Wx.so'
for module Wx: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not
found (required by
/home/gabor/perl-5.10.1-xl-0.01/perl/lib/site_perl/5.10.1/i686-linux-thread-multi/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_baseu-2.8.so.0)
at
/home/gabor/perl-5.10.1-xl-0.01/perl/lib/5.10.1/i686-linux-thread-multi/DynaLoader.pm
line 200. at
/home/gabor/perl-5.10.1-xl-0.01/perl/lib/site_perl/5.10.1/Padre/Splash.pm
line 12
This is where my knowledge of C compilation and linking ends.
You are linking with a recent libstdc++, and the older system does not have
it.
Can I somehow include it in my distribution?
I don't know; I suppose you could but I never tried.
I tried to build Alien::wxWidgets and link it statically - in the following way:
$ perl Build.PL --wxWidgets-static
but after lots of comiplation I got several such warnings:
Warning: No config found to match:
/tmp/pWc2oOF0NK/Alien-wxWidgets-0.46/wxWidgets-2.8.10/bld/lib/wx/config/gtk2-unicode-release-2.8
--static --cxx
in
/home/szabgab/.perldist_xl/perl-5.10.1-xl-0.01/perl/lib/site_perl/5.10.1/i686-linux-thread-multi/Alien/wxWidgets/gtk_2_8_10_uni/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
and it ended with this message:
Unable to determine toolkit! at inc/My/Build/Any_wx_config.pm line 97.
system failed with 256
Done
This will not solve your problem: a static wxWidgets will link
statically to wxPerl, but it will still link dynamically to libstdc++.
GTK+, ...
Regards,
Mattia