Bug 108888 - LibreOffice cannot find openldap-client in custom prefix
Summary: LibreOffice cannot find openldap-client in custom prefix
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All NetBSD
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-01 13:34 UTC by Kamil Rytarowski
Modified: 2017-07-05 17:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Rytarowski 2017-07-01 13:34:16 UTC
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.
Comment 1 Buovjaga 2017-07-05 17:52:41 UTC
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