Compile sendmail from source
I'm trying to manually compile Sendmail 8.14.7 on Slackware 14.1 and it keeps failing. Does anyone know how to get this to compile? I've compiled and installed sasl2 in /apps/sasl2 but I don't think thats the problem.
cc -o sendmail -L/apps/sasl2/lib main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o -lsasl2 /usr/src/build/sendmail-8.14.7/obj.Linux.3.10.18.x86_64/libsmutil/libsmutil.a /usr/src/build/sendmail-8.14.7/obj.Linux.3.10.18.x86_64/libsm/libsm.a -ldl
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: domain.o: undefined reference to symbol '__res_querydomain@@GLIBC_2.2.5'
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: note: '__res_querydomain@@GLIBC_2.2.5' is defined in DSO /lib64/libresolv.so.2 so try adding it to the linker command line
/lib64/libresolv.so.2: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [sendmail] Error 1
make[1]: Leaving directory `/usr/src/build/sendmail-8.14.7/obj.Linux.3.10.18.x86_64/sendmail'
|