Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

When I try to install the module "Net::LDAPapi" in unix machine. I am getting the below error
bash-2.04$ make gcc -c -I/usr/include -I/usr/include -fno-strict-aliasing -I/usr/local +/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\" +3.0.1\" -DXS_VERSION=\"3.0.1\" -fPIC -I/usr/local/perl5.6.1/lib/sun4- +solaris/CORE -DOPENLDAP LDAPapi.c LDAPapi.xs:19: sasl/sasl.h: No such file or directory make: *** [LDAPapi.o] Error 1
Can any one guide me to solve it.


thanks,
PerlUser.

Replies are listed 'Best First'.
Re: Error while installing "Net::LDAPapi" module
by gam3 (Curate) on Oct 08, 2007 at 14:58 UTC
    You need to install the sasl library.

    On debian I would run

    apt-get install libsasl2-dev
    -- gam3
    A picture is worth a thousand words, but takes 200K.