Created attachment 191133 [details] diff to Makefile Required library dependency not listed in Makefile. Error when attempting to start radiusd: Shared object "libpcre.so.1" not found, required by "radiusd".
What version of the port are you using? Which OPTIONS are you using? Did you install from pkg or compile from ports?
Ah. sorry about missing the version. Early here. freeradius 3.0.16 built from ports, hence the Makefile diff. The error was on a machine where it was installed from a package, created on a build system from ports. Options are default I think. (I did make install clean BATCH=yes) Going back to make config, options show as: DOCS, PERL, UDPFROMTO, USER, HEIMDAL
(In reply to Jeremy Baggs from comment #2) Ah, ok. It looks like freeradius' configure tries to auto detect/use libpcre if present. Committing a fix in a moment.
I'm guessing you had libpcre installed whenever you built freeradius from ports. Then, later removed libpcre.
A commit references this bug: Author: zi Date: Fri Mar 2 14:32:37 UTC 2018 New revision: 463404 URL: https://svnweb.freebsd.org/changeset/ports/463404 Log: - Add PCRE as an OPTION (off by default) - Update to USES+=mysql instead of USE_MYSQL - Don't bump PORTREVISION as this is a NOOP PR: 226296 Changes: head/net/freeradius3/Makefile
Fix committed. You'll need to update your ports tree and then deinstall/rebuild/install the net/freeradius3 port. (This will actually fix your problem even if you don't update the ports tree)
Thanks!