Created attachment 184140 [details]
This is a patch to add libdl.so. See more extensive explanation and some questions answered in https://reviews.freebsd.org/D11504 .
Hopefully this would not change anything for working ports, but I am asking for exp-run to be on the safe side.
There is 1 new failure on head: devel/xparam
The configure script output differs:
-checking for dlopen in -ldl... no
+checking for dlopen in -ldl... yes
Then build doesn't have the extra -DNO_DYNAMIC_LOADING anymore.
(In reply to Antoine Brodin from comment #1)
Thank you for the run.
I will go forward with the src commit, then provide a patch for the port. It is clearly due to a code which was never compiled, at least not on FreeBSD, uncovered by the environment change.
(In reply to Konstantin Belousov from comment #2)
The fix for devel/xparam is to remove files/patch-lib__sources__xpv_dynamic_loader.cpp.
A commit references this bug:
Date: Tue Jul 11 08:05:40 UTC 2017
New revision: 445472
Remove unneeded patch, that breaks build with libdl
The code has landed long ago in SRC, if there are fallouts from this a dedicated PR should be opened