"libpython3.9.so.1.0" not found, required by "python3.9" / 124amd64

From: Thierry Thomas <thierry_at_freebsd.org>
Date: Sat, 28 Oct 2023 16:21:30 UTC
Hello,

The port science/code_saturne is failing in configure for
124amd64-quarterly with this error:

checking for PyQt5 version >= 5.0... ld-elf.so.1: Shared object "libpython3.9.so.1.0" not found, required by "python3.9"
no

Full log at
<https://pkg-status.freebsd.org/beefy2/data/124amd64-quarterly/ede9e97c683f/logs/code_saturne-8.0.0.log>

Do you know what causes this error?

Thanks.
-- 
Th. Thomas.