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 Starting kea. 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] patch-for-pqsql-mysql Please test this patch.
Committed.
A commit references this bug: Author: pi Date: Mon Dec 31 16:36:04 UTC 2018 New revision: 488800 URL: https://svnweb.freebsd.org/changeset/ports/488800 Log: net/kea: unbreak if PGSQL or MYSQL is selected PR: 234530 Reported by: Matt Smith <matt.xtaz@gmail.com> Approved by: hrs (well, sortof) Changes: head/net/kea/Makefile head/net/kea/pkg-plist