The base system no longer uses LINK_MAX and in theory POSIX permits this to not be defined requiring applications to use pathconf() to query it at runtime instead. Note that the patch must be applied to a recent head (r327009 or later). Patch is at https://reviews.freebsd.org/D13658
Exp-run looks fine.
A commit references this bug: Author: jhb Date: Fri Jan 5 22:26:23 UTC 2018 New revision: 327598 URL: https://svnweb.freebsd.org/changeset/base/327598 Log: Remove LINK_MAX. After recent changes to change filesystems to use filesystem-specific limits, LINK_MAX is no longer used in the base system. Applications should in theory be able to cope with a lack of LINK_MAX by using pathconf(). PR: 224628 (exp-run) Approved by: imp, kib Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D13658 Changes: head/sys/sys/syslimits.h