Good day time!
First of all, I am to thank everybody, who tried to help me.
As you remeber, the problem was that the configure script could not find
OpenLDAP libraries. Different methods been tried, but nothing helped. But
what can be worser than an old head? This is the solution at last:
1. First of all, the cofigure script creates a config.cache file after
running configure script. This file (config.cache) contains test results for
the system. And after i have changed the location of OpenLDAP libraries and
includes i haven't remove this file.
NOTA:
After changing paths and so on, remove the config.cache and rerun configure
script.
Question:
Why it is not mentioned in Official Documentation?
2. By default, configure script searches /usr/lib and /usr/include but not
/usr/local/include and /usr/local/lib . So, while running OpenLDAP configure
script i set --prefix=/usr .
Suppose, it is a good idea to run ldconfig -R to rescan paths.
3. The other problem is how to determine, that the configure script has
found OpenLDAP libraries and headers? The solution is easy. Dump the output
of configure script ( # ./configure {some-options} >> dump.txt )and find the
string, contatingn ldap.h .
--==== EXAMPLE ==-----
checking for ldap.h... yes
checking for lber.h... yes
checking for syslog.h... (cached) yes
checking whether -lresolv is needed for res_query... no
checking for ber_scanf in -llber... yes
checking for ldap_open in -lldap... yes
checking for ldap_search_st... yes
checking for ldap_start_tls_s... yes
--===== EXAMPLE ==----
Everything concerning ldap and lber shoul be "yes" . This means that
configure script has found OpenLDAP libraries and headers and vice versa.
QUESTION: Not mentioned in docs to! Why? Very useful thing.
Excuse my poor English.
Best wishes from Russia.
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users