In the latest 1.5.0 update when PGSQL support is selected the binaries get linked against libkea-pgsql.so.0 but this is not installed. As a result this happens:
# ldd `which kea-dhcp4` | grep 'not found'
libkea-pgsql.so.0 => not found (0)
# service kea onestart
INFO/keactrl: Starting /usr/local/sbin/kea-dhcp4 -c /usr/local/etc/kea/kea-dhcp4.conf
ld-elf.so.1: Shared object "libkea-pgsql.so.0" not found, required by "kea-dhcp4"
INFO/keactrl: Starting /usr/local/sbin/kea-dhcp6 -c /usr/local/etc/kea/kea-dhcp6.conf
ld-elf.so.1: Shared object "libkea-pgsql.so.0" not found, required by "kea-dhcp6"
It doesn't look like this file is mentioned in the pkg-plist file. My thoughts are that there should be some conditional entries in that file if you have other options for databases selected?
CC committer of 1.5.0 update (ports r488724)
Thank, I'll look into it. I guess it did not work in the old version, either, because there's no libkea-pgsql in the pkg-plist either.
Created attachment 200660 [details]
Please test this patch.
A commit references this bug:
Date: Mon Dec 31 16:36:04 UTC 2018
New revision: 488800
net/kea: unbreak if PGSQL or MYSQL is selected
Reported by: Matt Smith <email@example.com>
Approved by: hrs (well, sortof)