build fails in tail_build [ build LNK ] Library/pyuno.so /usr/local/bin/ld: cannot find -ldl collect2: error: ld returned 1 exit status gmake[2]: *** [/usr/home/waitman/libreoffice/libo/workdir/unxfbsd.pro/LinkTarget/Library/pyuno.so] Error 1 --> quick fix is to update Library_pyuno_wrapper.mk remove: ifneq ($(GUI)$(COM),WNTMSC) ifneq ($(OS),MACOSX) $(eval $(call gb_Library_add_libs,pyuno_wrapper,\ -ldl \ )) endif endif However, probably condition should be added if OS = BSD/Unix to skip -ldl Thank you.
David Tardon committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e9c6367cd546e6cf69cc2212b5a8771599bc54d8 fdo#51948 do not link with dl on *BSD