FreeBSD Bug 196703, p5-Wx, wxglade, and webkit-gtk2

Dave Hayes dave at jetcafe.org
Wed Feb 11 20:44:33 UTC 2015


Hello. :) I'm trying to get p5-Wx to build properly. A test program 
fails with this:

   Can't load '/usr/local/lib/perl5/site_perl/mach/5.18/auto/Wx/Wx.so' 
for module Wx: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required 
by /usr/local/lib/libwx_baseu-3.0.so.0 not found at 
/usr/local/lib/perl5/5.18/mach/DynaLoader.pm line 190.
  at client/wxtest.pl line 6.

I've built wxgtk30 from Makefile revision r377776 with poudriere, and 
I've rebuilt dependent ports but this is still failing.

I noticed your bug report (196703) about webkit-gtk2. You mention in 
this bug:

   Some dependent ports may need USES=compiler:c++11-lib as well

So I tried adding that naively to the makefile for p5-Wx and this did 
not work. Exactly hat needs to be done for p5-Wx (and related) ports to 
fix this? I believe wxglade is also broken.

One key symptom of the problem is this:

  > ldd /usr/local/lib/perl5/site_perl/mach/5.18/auto/Wx/Wx.so | grep stdc
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x802a11000)
  > ldd /usr/local/lib/libwebkitgtk-1.0.so.0 | grep stdc
	libstdc++.so.6 => /usr/local/lib/gcc48/libstdc++.so.6 (0x80cbee000)

In case you might be tempted to think it's just a perl thing, here's 
output from wxglade:

  > wxglade
  ...
  ImportError: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required 
by /usr/local/lib/libwx_baseu-3.0.so.0 not found

and indeed in python's libraries we have the same idea:

  > ldd /usr/local/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core_.so 
| grep stdc
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x803789000)

Any insight would be warmly appreciated. Thank you. :)
-- 
Dave Hayes - Consultant - Altadena CA, USA - dave at jetcafe.org
 >>>> *The opinions expressed above are entirely my own* <<<<

The penalty for laughing in a courtroom is six months in
jail; if it were not for this penalty, the jury would never
hear the evidence.


More information about the freebsd-ports mailing list