error updating dovecot

germanopires

Verified User
Joined
Jan 9, 2023
Messages
18
Today I tried to update Dovecot with Custombild, but it failed due to an error.
Here is the log:
==========
checking for ldap >= 2.4... yes
checking for ldap_initialize in -lldap... configure: error:
cannot build with LDAP support: function ldap_initialize() not found
(OpenLDAP >= 2.4 required)

no
doDovecot: failed to compile '/usr/local/directadmin/custombuild/cache/dovecot-2.4.2.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.mGlqqtSClD.dovecot-2.4.2.tar.gz'
failed to build dovecot
==========

Do I have to update OpenLDAP manually? Any help is appreciated.
 
Hello,

I guess you've got openldap, openldap-devel, openldap-compat installed on the server? The names for CentOS/RHEL/AlmaLinux are shown here.

What if you run (as root in CLI/SSH), what will be the result of the commands?

Code:
strace -o /dev/null ls -la /usr/lib64/libkeyutils.so*

and

Code:
ls -la /usr/lib64/libkeyutils.so*

Make sure strace is installed on the server first.

Do I have to update OpenLDAP manually? Any help is appreciated.
 
Hello,

I guess you've got openldap, openldap-devel, openldap-compat installed on the server? The names for CentOS/RHEL/AlmaLinux are shown here.
Yes, I have it installed on the server.

What if you run (as root in CLI/SSH), what will be the result of the commands?

Code:
strace -o /dev/null ls -la /usr/lib64/libkeyutils.so*
lrwxrwxrwx. 1 root root 27 Apr 5 2023 /usr/lib64/libkeyutils.so -> /usr/lib64/libkeyutils.so.1
lrwxrwxrwx 1 root root 21 Apr 5 2023 /usr/lib64/libkeyutils.so.1 -> libkeyutils.so.1.10.2
-rwxr-xr-x. 1 root root 23992 Apr 5 2023 /usr/lib64/libkeyutils.so.1.10


and

Code:
ls -la /usr/lib64/libkeyutils.so*
lrwxrwxrwx. 1 root root 27 Apr 5 2023 /usr/lib64/libkeyutils.so -> /usr/lib64/libkeyutils.so.1
lrwxrwxrwx 1 root root 21 Apr 5 2023 /usr/lib64/libkeyutils.so.1 -> libkeyutils.so.1.10
-rwxr-xr-x. 1 root root 23992 Apr 5 2023 /usr/lib64/libkeyutils.so.1.10


Make sure strace is installed on the server first.
OK. I think that's what you asked for.
 
Back
Top