Error while building

Ryan Lovett ryan at stat.berkeley.edu
Thu Aug 7 00:06:55 CEST 2008


On Thu, Aug 07, 2008 at 12:03:29AM +0200, Sig wrote:
> Matej Vela a écrit :
> > Sig <sig at akasig.org> writes:
> >> I can't build python-ldap-2.3.5. What should I do ?
> > Looks like you're missing libldap2-dev.  Please run
> > 
> >     # apt-get install build-essential libldap2-dev libsasl2-dev python-dev
> 
> It helped, thanks ! I also had to add libssl-dev (before that I was 
> getting another message saying that lssl could not be found).
> 
> Now it works OK.
> 
> Too bad all these dev libs are required for installing python-ldap from 
> the cheeseshop. Or maybe these requirements should be clearly indicated 
> on the python-ldap package page ?
> 
> Anyway, thanks for your help and reactivity !

In the future you can try

    # apt-get build-dep python-ldap

apt-get.8: "build-dep causes apt-get to install/remove packages in an
attempt to satisfy the build dependencies for a source package."

Ryan




More information about the python-ldap mailing list