I will have to get back to you on this.  I've already installed a newer libocct from source, as well as built KiCad 8 from source (my long-term plan anyway, as I maintain my own fork) and got around the problem.  So my libTKernel won't have the same checksum as what was originally installed.

To keep chasing this, though, I'll spin up a VM and see if I can recreate the issue in order to answer your questions.  Kindly give me a few days, as my schedule is quite packed this month thanks to various organizations' holiday activities.

Cheers,
-Brian

On 12/5/24 01:46, Simon Richter wrote:
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

Reply via email to