Sendmail-8.13.6 compile problem

Associate
Joined
18 Oct 2002
Posts
858
Location
Cheshire
I get the following error when compiling sendmail...

Code:
Configuration: pfx=, os=Linux, rel=2.6.22.6custom1, rbase=2, rroot=2.6.22, arch=i686, sfx=, variant=optimized
Making in /src/sendmail-8.13.6/obj.Linux.2.6.22.6custom1.i686/libsm
make[1]: Entering directory `/src/sendmail-8.13.6/obj.Linux.2.6.22.6custom1.i686/libsm'
cc -O2 -I. -I../../include  -I/usr/include/sasl -DSTARTTLS -DTCPWRAPPERS -DSASL -DLDAPMAP      -c -o assert.o assert.c
In file included from ../../include/sm/gen.h:20,
                 from assert.c:11:
../../include/sm/config.h:148:20: lber.h: No such file or directory
../../include/sm/config.h:149:20: ldap.h: No such file or directory
make[1]: *** [assert.o] Error 1
make[1]: Leaving directory `/src/sendmail-8.13.6/obj.Linux.2.6.22.6custom1.i686/libsm'
make: *** [/src/sendmail-8.13.6/obj.Linux.2.6.22.6custom1.i686/libsm/libsm.a] Error 2
Procmail-3.22 installed without a problem.

Anyone got any ideas?

Thanks
 
Last edited:
openssl is installed and working coz I have multiple SSH terminals open to my server...

Those two library files (libr and ldap) are found in openLDAP.... but it doesn't say anywhere that LDAP is required, it only says optional... looks like I'm going to have to throw LDAP on, not that I use it for anything else...

Will throw it on and see if anything changes....
 
a couple of hours later to install ldap and it's dependancy, berkeley-db....

Looks like it REQUIRES ldap and not ldap is optional...

I will drop them an email and tell them they need to update the readme if they havn't allready...

Thanks all
 
Back
Top Bottom