FreeBSD, ports and OpenLDAP versions
This is mostly a reminder for myself, but perhaps any of you would find it helpful.
===> openldap-client-2.3.41 conflicts with installed package(s): openldap-client-2.4.8 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/net/openldap23-client. *** Error code 1 Stop in /usr/ports/security/pam_ldap.
The problem here was that the pam_ldap port has openldap-client as a dependency, and the default version for such dep is OpenLDAP 2.3, while my server already has OpenLDAP 2.4 on it.
What to do now?
Easy, just adding one line to /etc/make.conf solved the problem:
Back to the port directory, make install finished smoothly:
===> Compressing manual pages for pam_ldap-1.8.4 ===> Registering installation for pam_ldap-1.8.4 [PXGOServer] /usr/ports/security/pam_ldap>