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

Dave Hayes dave at
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/' 
for module Wx: /usr/lib/ version GLIBCXX_3.4.11 required 
by /usr/local/lib/ not found at 
/usr/local/lib/perl5/5.18/mach/ line 190.
  at client/ 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/ | grep stdc => /usr/lib/ (0x802a11000)
  > ldd /usr/local/lib/ | grep stdc => /usr/local/lib/gcc48/ (0x80cbee000)

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

  > wxglade
  ImportError: /usr/lib/ version GLIBCXX_3.4.11 required 
by /usr/local/lib/ 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/ 
| grep stdc => /usr/lib/ (0x803789000)

Any insight would be warmly appreciated. Thank you. :)
Dave Hayes - Consultant - Altadena CA, USA - dave at
 >>>> *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