in reply to Error while installing "Net::LDAPapi" module
On debian I would run
apt-get install libsasl2-dev [download]