[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Samba --with-ldapsam



Le mer 23/07/2003 à 14:55, Thomas Dewar a écrit :
> Nicolas Rueff wrote:
> > Le mer 23/07/2003 à 11:05, Thomas Dewar a écrit :
> >   
> > > Bonjour à tous,
> > > je rencontre actuellement des problèmes avec l'installation du duo 
> > > samba-ldap.
> > > Par défaut le paquet samba n'est pas configuré avec ldap.
> > > Après avoir modifié les options du ./configure en y ajoutant l'option 
> > > --with-ldapsam, j'obtiens l'erreur suivante :
> > >     checking configure summary**
> > >     configure: error: summary failure. Aborting config
> > > 
> > > C'est une erreur que je n'obtiens pas quand j'enlève l'option 
> > > --with-ldapsam.
> > > Des idées?
> > > 
> > > voici mes options de mon ./configure :
> > > ./configure --host=i386 --build=i386 --with-fhs --prefix=/usr 
> > > --sysconfdir=/etc --sysconfdir=/etc --with-privatedir=/etc/samba 
> > > --localstatedir=/var --with-netatalk --with-smbmount --with-pam 
> > > --with-syslog --with-sambabook --with-utmp --with-readline 
> > > --with-pam_smbpass --with-libsmbclient --with-winbind --with-ldapsam 
> > > --with-msdfs
> > >     
> > Truc utile: fournis-nous ton configure.log ...
> >
> Voici la fin de mon config.log, il plante sur la partie ldap
> apparemment mais je ne sais pas quoi dire de plus ...
> 
> #if defined(HAVE_LONGLONG) && (defined(HAVE_OFF64_T) ||
> (defined(SIZEOF_OFF_T) && (SIZEOF_OFF_T == 8)))
> #include <sys/types.h>
> #else
> __COMPILE_ERROR_
> #endif
> 
> int main() {
> int i
> ; return 0; }
> configure:12733: checking whether to support ACLs
> configure:12936: checking whether to build winbind
> configure:13019: gcc -o conftest -O    conftest.c -lldap -llber
> -lresolv -lcups  -ldl -lpam 1>&5
> /usr/bin/ld: cannot find -lldap
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 13015 "configure"
> #include "confdefs.h"
> #include "./tests/summary.c"

Explication rapide: un "apt-get install libldap-dev" devrait solutionner
ton problème.
Explication simple: tu n'as pas installé les fichiers de dev de la
libldap ...

A+
Nicolas Rueff
http://rueff.tuxfamily.org 
+33 6 77 64 44 80 

________________________________________________________________________
IBM Advanced Systems Group -- a bunch of mindless jerks, who'll be first
against the wall when the revolution comes...
          
      * with regrets to D. Adams



________________________________________________________________________

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: