Re: LDAP error compiling postfix

2003-04-03 Thread Bill Campbell
On Thu, Apr 03, 2003 at 09:03:01AM +0200, Thomas Lotterer wrote:
...
Michael v. Elst tried to defeat this issue yesterday, so
give it a try. http://cvs.openpkg.org/chngview?cn=8529

It built with ldap support yesterday.  Now to see if it works :-).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the facts
to fit their views ... which can be very uncomfortable if you happen to
be one of the facts that needs altering.
-- Doctor Who, Face of Evil
__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]


Re: LDAP error compiling postfix

2003-03-20 Thread Michael van Elst
On Thu, Mar 20, 2003, Bill Campbell wrote:

 When I tried building postfix-2.0.7-20030320.src.rpm today with LDAP
 support and openldap-2.1.16-20030315, the linking failed with several
 undefined references including ldap_enable_cache.

openldap has deprecated the client cache interface. Apparently some people
did not notice, not even the openldap people themselves, who still provide
the manual page :-/


-- 
,eM=.a-. Michael van Elst
   dWWMWM -  :GM==;[EMAIL PROTECTED]
  :WWMWMw=--.  W='  cable  wireless
   9WWMm==-.
-Wmw-  CABLE  WIRELESS
__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]


Re: LDAP error compiling postfix

2003-03-20 Thread Bill Campbell
On Thu, Mar 20, 2003 at 09:13:07PM +0100, Michael van Elst wrote:
On Thu, Mar 20, 2003, Bill Campbell wrote:

 When I tried building postfix-2.0.7-20030320.src.rpm today with LDAP
 support and openldap-2.1.16-20030315, the linking failed with several
 undefined references including ldap_enable_cache.

openldap has deprecated the client cache interface. Apparently some people
did not notice, not even the openldap people themselves, who still provide
the manual page :-/

Here's what I got back on the postfix mailing list:

On Thu, 20 Mar 2003, Bill Campbell wrote:

 I ran into some undefined references compiling postfix-2.0.7 with
 openldap-2.1.16.  It links properly with openldap-2.1.12.

 One of the undefined references is ``ldap_enable_cache''.  Diffs between
 the two openldap versions lead me to believe that this and some other
 functions have been dropped from openldap.

 FWIW, I'm building slightly modified SRPMS from openpkg.org (I'm adding
 whoson and LDAP support to their release.


This is a known issue for OpenLDAP 2.1.13 and later. I have provided a
patch to Lamont Jones of HP, who will hopefully release an updated
dict_ldap.c to Wietse in the near future...

For now I would suggest that you stick with OpenLDAP 2.1.12.

-- 
   Viktor.


Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

It is practically impossible to teach good programming style to
students that have had prior exposure to BASIC: as potential
programmers they are mentally mutilated beyond hope of
regeneration.
-- Dijkstra
__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]