Impossible to install ovito on ubuntu 24.10 linux x86_64

I am not able to install ovito-basic-3.12.2-x86_64 under ubuntu 24.10. If I run the executable I get the error:
./bin/ovito: /usr/lib/x86_64-linux-gnu/libQt6Core.so.6: version `Qt_6.8’ not found (required by ./bin/ovito)
I apparently need to install Qt_6.8. Is this really the case? I would like to be sure before embarking in this…
Thanks for any help

Let me double check what is going on. This error is unexpected because OVITO comes with its own copy of the shared library libQt6Core.so.6 in ovito-basic-3.12.2-x86_64/lib/ovito/. The ovito executable should preferably load this copy, not the one in /usr/lib/x86_64-linux-gnu/.

I checked the ovito executable, and it seems to have the correct RUNPATH set, which tells the OS where to look for shared libraries:

$ objdump -x ovito-basic-3.12.2-x86_64/bin/ovito | grep 'R.*PATH'

  RUNPATH              $ORIGIN/../lib/ovito/:$ORIGIN/../lib/ovito/lib/:$ORIGIN/../lib/ovito/plugins/

I’m not sure, but this built-in search path may be overridden by a local setting on your system, e.g. the LD_LIBRARY_PATH environment variable, which has higher priority. One thing you could do is to observe the library loading process to see where (and why) Linux is looking for the libQt6Core.so.6 library during application startup:

LD_DEBUG=libs ovito-basic-3.12.2-x86_64/bin/ovito

The terminal output of this command could give us some hint why it is loading the wrong version of the lib.

Yes, LD_LIBRARY_PATH was the issue, it now works.
Thank you for the help, I am a huge fan.