[Pkg-electronics-devel] Bug#1089063: kicad: pcbnew does not launch, error missing symbol
Simon Richter
sjr at debian.org
Thu Dec 5 06:46:03 GMT 2024
Hi,
On Wed, Dec 04, 2024 at 03:05:07PM -0500, Brian Henning wrote:
> 01:56:51 PM: Failed to load shared library '/usr/bin/_pcbnew.kiface': /usr/bin/_pcbnew.kiface: undefined symbol: _ZNK15Message_Printer4SendERK26TCollection_ExtendedString15Message_Gravity
> 01:56:51 PM: Failed to load kiface library '/usr/bin/_pcbnew.kiface'.
> 01:56:51 PM: Error loading editor.
> 01:56:51 PM: Application cannot start.
That symbol is provided by libTKernel.so.7 from libocct-foundation-7.6,
which is installed on your system, according to the dependency list.
Can you check that the dynamic linker selects the correct library?
$ ldd /usr/bin/_pcbnew.kiface | grep TKernel
libTKernel.so.7 => /lib/x86_64-linux-gnu/libTKernel.so.7 (0x00007f2c2c818000)
The library should be taken from either /lib or /usr/lib. For me, the
checksum is
$ sha256sum /lib/x86_64-linux-gnu/libTKernel.so.7
8ff26e8c80b4910d38f2ebb9dc581d68d285298fd0351ab77f30c609e956b04b /lib/x86_64-linux-gnu/libTKernel.so.7
and the symbol is indeed provided from there.
$ nm -D /lib/x86_64-linux-gnu/libTKernel.so.7 | grep _ZNK15Message_Printer4SendERK26TCollection_ExtendedString15Message_Gravity
00000000000e4a70 T _ZNK15Message_Printer4SendERK26TCollection_ExtendedString15Message_Gravity
Simon
More information about the Pkg-electronics-devel
mailing list