On Mon, 2005-01-17 at 12:29, Claudio Jeker wrote: > On Mon, Jan 17, 2005 at 11:27:00AM +0100, Shina Owolabi wrote: > > Hello. > > I'm a newbie to this, i i've been using qmail for quite sometime and i > > wanted to use qmail-ldap as a way to overcome having to create login > > users for each email account i have to create. Ive been unsuccessful in > > patching either netqmail or qmail in any system i've tried to install it > > on. Ive tried to set it up on Mandrake 10.0, and on RedHat 9, and i cant > > get get past even making the install. Ive read through the lifewith > > qmail-ldap and even the QLDAPINSTALL document that i found at the site. > > Ive included the make dumps as attachments to this email.The system i > > extracted them off of is a Dell running the 2.4.20-8 kernel RH-9.Ive > > tried it with 2.4.22 kernel as well. > > > > May be any one can help me make sense of what's going on, or where my > > error is. > > > > Please help. Also, if anyone can point me to a good resource on how to > > set up virtual users in qmail, so as to avoid having to give mail users > > login access, please point me at it. I love this program and I'd like to > > keep on using it. > > > > The qmail-ldap patch can only be applied to a clean qmail-1.03 tree. It > will not work with a netqmail tree as qmail-ldap includes similar or the > same changes. > > > > ./compile digest.c > > ./load digest passwd.o digest_md4.o digest_md5.o digest_rmd160.o \ > > digest_sha1.o base64.o qldap-debug.o output.o getopt.a strerr.a \ > > substdio.a case.a env.a stralloc.a str.a fs.a alloc.a error.a \ > > passwd.o(.text+0x48): In function `cmp_passwd': > > : undefined reference to `crypt' > > passwd.o(.text+0x64): In function `cmp_passwd': > > : undefined reference to `crypt' > > passwd.o(.text+0x2aa): In function `do_crypt': > > : undefined reference to `crypt' > > collect2: ld returned 1 exit status > > make: *** [digest] Error 1 > > Have you defined SHADOWLIBS according to QLDAPINSTALL. As you are using a > linux like system you should define both > SHADOWLIBS=-lcrypt -lshadow and SHADOWOPTS=-DPW_SHADOW >
Yes. This is what i get after defining them: /usr/bin/ld: cannot find -lshadow collect2: ld returned 1 exit status make: *** [auth_pop] Error 1 Shina
