#############################
checking for iconv support... yes checking for iconv... yes checking if iconv is glibc's... yes checking if iconv supports errno... yes checking if iconv supports //IGNORE... no checking for IMAP support... no checking for IMAP Kerberos support... no checking for IMAP SSL support... no checking whether to enable internationalization support... no checking for LDAP support... yes checking whether to build with LDAP Cyrus SASL support... no checking size of long... (cached) 8 checking if we're at 64-bit platform... yes configure: error: Cannot find ldap libraries in /usr/lib.
解决:
cp -frp /usr/lib64/libldap* /usr/lib/
checking for ldap_control_find... yes checking for ldap_parse_extended_result... yes checking for ldap_extended_operation... yes checking for ldap_extended_operation_s... yes checking for ldap_passwd... yes checking for ldap_whoami_s... yes checking for ldap_refresh_s... yes checking for ldap_bind_s... yes checking whether to enable multibyte string support... yes checking whether to enable multibyte regex support (requires oniguruma)... yes checking for oniguruma... no configure: error: Package requirements (oniguruma) were not met: No package 'oniguruma' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables ONIG_CFLAGS and ONIG_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
##################################