Hi,
with the standard setup /usr/local/lib
should be in the library search path on Debian and its derivatives by default. When I checked that last time some month ago this was still the case. Not sure if something changed in the meanwhile.
On my Ubuntu 24.04 it’s still the case
> cat /etc/ld.so.conf.d/libc.conf
# libc default configuration
/usr/local/lib
If you are still facing this issue please do the following
echo "/usr/local/lib" | sudo tee /etc/ld.so.conf.d/greenbone-community-edition.conf
sudo ldconfig