in reply to Error while installing "Net::LDAPapi" module

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.