KiCad won't start

Bug #627487 reported by David Planella
72
This bug affects 13 people
Affects Status Importance Assigned to Milestone
KiCad
New
Undecided
Unassigned
kicad (Ubuntu)
New
Undecided
Unassigned
wxwidgets2.8 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Using the kicad version available in the Ubuntu repositories for Maverick (0.0.20100314-1), kicad will not start. Executing it from the command line gives the following output:

$ kicad
kicad: relocation error: kicad: symbol _ZTI12wxAuiToolBar, version WXU_2.8 not defined in file libwx_gtk2u_aui-2.8.so.0 with link time reference

Revision history for this message
Dick Hollenbeck (dickelbeck) wrote : Re: [Bug 627487] [NEW] KiCad won't start

This seems like something that should be reported to the package
maintainer for the Maverick package.
That package build did not come from us.

Revision history for this message
David Planella (dpm) wrote :

Ok, thanks for the feedback. I've added a task for the Ubuntu package then.

Revision history for this message
Felix (feliks) wrote :

i had the same error after kernel-update (2.6.32-24.42) using the debian version of kicad. Downgrading to the ubuntu-version (20100314 -> 20090216) works for me.
however this version has no 3d view (https://bugs.launchpad.net/ubuntu/+source/kicad/+bug/191470)

Revision history for this message
Felix (feliks) wrote :

probably there is a problem with the wxgtk lib. Downgrading libwxbase and libwxgtk from 2.8.10.1-ubuntu1.2 to 2.8.10.1-ubuntu1 and kicad (20100314) runs as before.

Revision history for this message
Matthias Blaicher (blaicher) wrote :

I did a rebuild with

> sudo apt-get install devscripts build-essential fakeroot
> sudo apt-get build-dep kicad
> apt-get source kicad
> cd kicad-0.0.20100314
> debuild -us -uc
> cd ..
> sudo dpkg -i kicad*.deb

There is no error on startup anymore and everything seems to work es expected. Building KiCAD takes some time though..

Revision history for this message
Dick Hollenbeck (dickelbeck) wrote : Re: [Bug 627487] Re: KiCad won't start

On 09/23/2010 01:40 AM, Matthias Blaicher wrote:
> I did a rebuild with
>
>
>> sudo apt-get install devscripts build-essential fakeroot
>> sudo apt-get build-dep kicad
>> apt-get source kicad
>> cd kicad-0.0.20100314
>> debuild -us -uc
>> cd ..
>> sudo dpkg -i kicad*.deb
>>
> There is no error on startup anymore and everything seems to work es
> expected. Building KiCAD takes some time though..
>

True, but the trick is this. If you know you want it finished by a
certain time, then simply start that much earlier.

:)

Revision history for this message
Dave (davem99) wrote :

I had the same problem on Xubuntu 10.10 beta with all updates applied. I followed the rebuild instructions in #5 and after 40 minutes of building, all is well again.

Revision history for this message
jimlovell777 (jimlovell777) wrote :

Rebuilding from source worked here too but attempting to use the 3D feature leads to a crash.

Revision history for this message
Dave (davem99) wrote :

Same here. Selecting 3D view causes pcbnew to crash without any output in the GUI or the terminal where kicad was started.

Revision history for this message
Dave (davem99) wrote :

I opened a new bug report for the 3D issue here: https://bugs.launchpad.net/kicad/+bug/648289

Revision history for this message
jpka (jopka) wrote :

I can confirm this bug (on Maverick pre-release)

Revision history for this message
harry brijs (harryb-scarlet) wrote :

After automatic upgrade to 10.10 the same behaviour.
KiCad does not start, and the same error when you try the command line.

Seems to be fundamental because Amarok QElektraTech and Beid react the same

Revision history for this message
Oliver (oliver602) wrote :

Will not start for me either:
"kicad: relocation error: kicad: symbol _ZTI12wxAuiToolBar, version WXU_2.8 not defined in file libwx_gtk2u_aui-2.8.so.0 with link time reference"

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

Revision history for this message
Adrine (acorreya) wrote :

Hi all!

I just tried the compiling steps noted by Blaicher above, and yes its working fine, except that it has no menu File, Edit etc, and has only toolbars. The same is shown in Kicad mainwindow, eeschema, cvpcb, pcbnew and gerbView. help!

Revision history for this message
Adrine (acorreya) wrote :

Here's a screenshots of the menuless windows.. :(

Revision history for this message
Stefano Rivera (stefanor) wrote :

> except that it has no menu File, Edit etc, and has only toolbars.

No idea why you are getting that. In my test builds for the fix (still pending approval, see bug #61097) I don't see that. I've uploaded it to my PPA as well, see if you get this issue with the debs here: https://edge.launchpad.net/~stefanor/+archive/sru

Revision history for this message
Stefano Rivera (stefanor) wrote :
Revision history for this message
Adrine (acorreya) wrote :

thank you rivera,

unfortunately, i'm having the same results :-( is this some new bug that i have to report?

Revision history for this message
Graham Inggs (ginggs) wrote :

Kicad 0.0.20100314-build0.1 from maverick-proposed is working fine for me, with menus, on amd64.

Revision history for this message
Ivan Mendoza (ivan-mzr) wrote :

Xubuntu Lucid, downgrading the 20100314 to 20090216 works but when i select 3D view causes pcbnew to crash

Terminal:
kicad: relocation error: kicad: symbol _ZTI12wxAuiToolBar, version WXU_2.8 not defined in file libwx_gtk2u_aui-2.8.so.0 with link time reference

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

Ivan: I also agree that pcbnew crashes with the 3dview - but that's a separate bug, please open a new launchpad bug for it.

Dave

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.