Error during open pcb editor

Hey. I have problem on the Ubuntu 22.04 during run PCB editor.
Below error message appear
11:11:16: Failed to load shared library ‘/usr/bin/_pcbnew.kiface’: /usr/bin/_pcbnew.kiface: undefined symbol: _ZN15TopExp_Explorer7DestroyEv
11:11:16: Failed to load kiface library ‘/usr/bin/_pcbnew.kiface’.
11:11:16: Error loading editor.
11:11:16: Application failed to load.

Can you help me with it?

Application: KiCad x86_64 on x86_64
Version: 7.0.5-4d25ed1034~172~ubuntu22.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 6.0.0
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.14
Platform: Ubuntu 22.04.2 LTS, 64 bit, Little endian, wxGTK, ubuntu, x11
Build Info:
Date: May 27 2023 23:08:46
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.88.1
ngspice: 38
Compiler: GCC 11.3.0 with C++ ABI 1016
Build settings:
KICAD_SPICE=ON

This looks like a mismatch between binary files, they come from different compilations. For example two installed versions of the same packaged software. Or a mix of installed package and self-compiled. First you should make sure that all possible KiCad files are purged and all but one source of binaries are eliminated. Then re-install.

Now I have the below problem, during run kicad:
kicad: /usr/local/lib/libwx_baseu_net-3.2.so.0: no version information available (required by kicad)
kicad: /usr/local/lib/libwx_gtk3u_propgrid-3.2.so.0: no version information available (required by kicad)
kicad: /usr/local/lib/libwx_baseu_xml-3.2.so.0: no version information available (required by kicad)
kicad: /usr/local/lib/libwx_gtk3u_stc-3.2.so.0: no version information available (required by kicad)
kicad: /usr/local/lib/libwx_gtk3u_aui-3.2.so.0: no version information available (required by kicad)
kicad: /usr/local/lib/libwx_gtk3u_html-3.2.so.0: no version information available (required by kicad)
kicad: /usr/local/lib/libwx_baseu-3.2.so.0: no version information available (required by kicad)
kicad: /usr/local/lib/libwx_gtk3u_core-3.2.so.0: no version information available (required by kicad)
kicad: Symbol _ZTV10wxTreebook' has different size in shared object, consider re-linking kicad: Symbol _ZTV18wxGenericComboCtrl’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV8wxButton' has different size in shared object, consider re-linking kicad: Symbol _ZTV17wxTextEntryDialog’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV14wxBookCtrlBase' has different size in shared object, consider re-linking kicad: Symbol _ZTV10wxCheckBox’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV9wxControl' has different size in shared object, consider re-linking kicad: Symbol _ZTV8wxDialog’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV16wxProgressDialog' has different size in shared object, consider re-linking kicad: Symbol _ZTV22wxGenericMessageDialog’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV16wxScrolledWindow' has different size in shared object, consider re-linking kicad: Symbol _ZTV15wxMessageDialog’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV8wxChoice' has different size in shared object, consider re-linking kicad: Symbol _ZTV10wxTreeCtrl’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV26wxGenericRichMessageDialog' has different size in shared object, consider re-linking kicad: Symbol _ZTV12wxButtonBase’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV14wxBitmapButton' has different size in shared object, consider re-linking kicad: Symbol _ZTV16wxTopLevelWindow’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV11wxAnyButton' has different size in shared object, consider re-linking kicad: Symbol _ZTV10wxSpinCtrl’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV12wxSearchCtrl' has different size in shared object, consider re-linking kicad: Symbol _ZTV15wxComboCtrlBase’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV11wxStaticBox' has different size in shared object, consider re-linking kicad: Symbol _ZTV16wxSplitterWindow’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV16wxSpinCtrlDouble' has different size in shared object, consider re-linking kicad: Symbol _ZTV18wxSashLayoutWindow’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV11wxDirDialog' has different size in shared object, consider re-linking kicad: Symbol _ZTV11wxComboCtrl’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV14wxTreeListCtrl' has different size in shared object, consider re-linking kicad: Symbol _ZTV12wxSashWindow’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV10wxComboBox' has different size in shared object, consider re-linking kicad: Symbol _ZTV7wxGauge’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV19wxRichMessageDialog' has different size in shared object, consider re-linking kicad: Symbol _ZTV13wxRadioButton’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV12wxHtmlWindow' has different size in shared object, consider re-linking kicad: Symbol _ZTV6wxGrid’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV7wxPanel' has different size in shared object, consider re-linking kicad: Symbol _ZTV8wxSlider’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV12wxAuiToolBar' has different size in shared object, consider re-linking kicad: Symbol _ZTV16wxInfoBarGeneric’ has different size in shared object, consider re-linking
kicad: Symbol _ZTV17wxGenericTreeCtrl' has different size in shared object, consider re-linking kicad: Symbol _ZTV17wxMDIClientWindow’ has different size in shared object, consider re-linking
kicad: Symbol `_ZTV7wxFrame’ has different size in shared object, consider re-linking
Segmentation fault (core dumped)

You have a version of wx in /usr/local which is used instead of the one in the standard location.

I deleted all wx binary file from /usr/local and all kicad binary files, and then I installed kicad from the official repository. Now I have the first problem again from this thread.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.