(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Installation : (Answer) Notes on compiling back-perl
It has been reported that OpenLDAP's slapd with support for the PERL backend (back-perl) must be compiled with exactly the same compiler options (libraries + include files) the perl interpreter itself got compiled.

This does not occur by default in all distributions, so take care; you might need to recompile the perl interpreter yourself, or at least to find out exactly how it was compiled (this is true for many pieces of software, though).

Original posting by Reinhard Voglmaier.

Note: there might have been similar reports in the past.

It is necessary to compile Perl without thread support (-Dusethreads) or the compiled backend will crash immediately. This is at least true for Perl 5.8.3 and OpenLDAP 2.2.17.
Contrary to the upper note Perl must be compiled _WITH_ thread support. See http://www.openldap.org/its/index.cgi/Incoming?id=3567;selectid=3567;usearchives=1 for details.
[Append to This Answer]
Previous: (Answer) How do I build OpenLDAP so that it can support a large number of connections?
Next: (Answer) Deprecated C API issues
This document is: http://www.openldap.org/faq/index.cgi?file=1147
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org