configure: error: library 'ldap_r' is required for LDAP make[1]: *** [/usr/src/libreoffice-4.1.4.2/workdir/unxlngx6.pro/ExternalProject/postgresql/build] 错误 1 [closed]

asked 2014-01-12 15:14:27 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

The error below occured when doing make command.How deal with it ? THANKS !

checking for ldap_bind in -lldap... yes checking for ldap_simple_bind in -lldap_r... no configure: error: library 'ldap_r' is required for LDAP make[1]: * [/usr/src/libreoffice-4.1.4.2/workdir/unxlngx6.pro/ExternalProject/postgresql/build] error 1

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2016-02-18 14:24:59.110770

Comments

It looks like you are compiling LibreOffice from source. Did you check whether the ldap_r library is in your build path?

bencomp gravatar imagebencomp ( 2014-01-12 19:11:47 +0100 )edit

I wonder, why nobody answered. At least in my case (same error, libreoffice- 5.0.2.2) this patch (which I'm not allowed to upload due to some missing "points") fixed it: http://pastebin.com/NULYyZ6r

Cheers Donald

DonaldBuczek gravatar imageDonaldBuczek ( 2015-09-30 10:26:03 +0100 )edit