I use NetBSD and pkgsrc. openldap-client is installed into prefix /usr/pkg. Libreoffice cannot find this library and fails to build. checking for strtoll... yes checking for strtoull... yes checking for builtin locking functions... yes checking for pthread_join in LIBS=-pthread -lpthread with CFLAGS=-pthread ... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... clang checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for strerror_r... yes checking for getpwuid_r... yes checking for gethostbyname_r... yes checking whether getpwuid_r takes a fifth argument... yes checking whether strerror_r returns int... yes checking for ldap_bind in -lldap... no configure: error: library 'ldap' is required for LDAP /tmp/pkgsrc-tmp/misc/libreoffice/work/libreoffice-5.3.3.2/external/postgresql/ExternalProject_postgresql.mk:58: recipe for target '/tmp/pkgsrc-tmp/misc/libreoffice/work/libreoffice-5.3.3.2/workdir/ExternalProject/postgresql/build' failed gmake[1]: *** [/tmp/pkgsrc-tmp/misc/libreoffice/work/libreoffice-5.3.3.2/workdir/ExternalProject/postgresql/build] Error 1 gmake[1]: *** Waiting for unfinished jobs.... Makefile:263: recipe for target 'build' failed gmake: *** [build] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/misc/libreoffice *** Error code 1 Stop. make: stopped in /usr/pkgsrc/misc/libreoffice I fail to make it work.
Hey, thanks for the report. However, build issues should be discussed in the developer list: https://lists.freedesktop.org/mailman/listinfo/libreoffice https://wiki.documentfoundation.org/QA/BugReport#Not_all_bugs_go_to_Bugzilla