Comment 14 for bug 627487

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Well on Maverick:

$ readelf -s /usr/bin/kicad|grep -i _ZTI12wxAuiToolBar
   610: 00000000006e2780 24 OBJECT WEAK DEFAULT 27 _ZTI12wxAuiToolBar@WXU_2.8 (5)
$ readelf -s /usr/lib/libwx_gtk2u_aui-2.8.so.0|grep -i _ZTI12wxAuiToolBar
  1253: 0000000000272260 24 OBJECT WEAK DEFAULT 21 _ZTI12wxAuiToolBar@@WXU_2.8.9

according to the current libwx library it has declared that symbol as new in 2.8.9, yet kicad is looking for it in 2.8 and hence not finding it.

but lets look a little further back; the lucid library has:

readelf -s libwx_gtk2u_aui-2.8.so.0.6.0 |grep -i _ZTI12wxAuiToolBar
  1252: 0000000000275260 24 OBJECT WEAK DEFAULT 22 _ZTI12wxAuiToolBar@@WXU_2.8

so something built on Lucid would break on Maverick if I read that right.

The symbol is NOT in libwxgtk2.8-0_2.8.7.1-0ubuntu3_amd64.deb suggesting a version of WXU_2.8 IS wrong.

Jaunty's libwxgtk2.8-0_2.8.9.1-0ubuntu6_amd64.deb has:

readelf -s libwx_gtk2u_aui-2.8.so.0.5.0 |grep -i _ZTI12wxAuiToolBar
  1260: 0000000000277260 24 OBJECT WEAK DEFAULT 21 _ZTI12wxAuiToolBar@@WXU_2.8.9

and in Lucid-updates is:

readelf -s libwx_gtk2u_aui-2.8.so.0.6.0|grep _ZTI12wxAuiToolBar
  1253: 0000000000275260 24 OBJECT WEAK DEFAULT 22 _ZTI12wxAuiToolBar@@WXU_2.8.9

So to summarize; I think that:
  1) The version of libwx_gtk2u_aui had the wrong version of that symbol in Lucid
  2) The symbol versioning of it was fixed in Maverick and lucid-updates
  3) Anything built against the bad version in Lucid probably needs rebuilding.

So IMHO the right thing to do is rebuild kicad and add a dependency in against the version that's fixed in lucid-updates so it will build against that or maverick.

Dave