<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - LibreOffice cannot find openldap-client in custom prefix"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108888">108888</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LibreOffice cannot find openldap-client in custom prefix
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>NetBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Installation
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>n54@gmx.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>