From owner-freebsd-stable Tue Sep 12 6:12:25 2000 Delivered-To: freebsd-stable@freebsd.org Received: from vivaldi.pn.npi.msu.ru (gw.pn.npi.msu.ru [193.232.127.202]) by hub.freebsd.org (Postfix) with ESMTP id 2211137B422; Tue, 12 Sep 2000 06:12:14 -0700 (PDT) Received: from scarlatti.pn.sinp.msu.ru (scarlatti [195.208.223.16]) (authenticated) by vivaldi.pn.npi.msu.ru (8.11.0/8.11.0) with ESMTP id e8CDC2k06047; Tue, 12 Sep 2000 17:12:11 +0400 (MSD) (envelope-from svysh@pn.sinp.msu.ru) Message-Id: <4.3.2.7.2.20000912170437.00aa2b10@vivaldi> X-Sender: svysh@vivaldi X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 12 Sep 2000 17:11:58 +0400 To: Gregory Neil Shapiro From: Sergei Vyshenski Subject: Re: SMTP AUTH Cc: freebsd-stable@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oops! Even with suggested changes to make.conf and Makefile, Buildworld fails with: /usr/obj/usr/src/i386/usr/libexec/elf/ld: cannot find -lsasl Any ideas? more details here: cc -O -pipe -DSASL -I/usr/local/include/sasl -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -DNEWDB -DNIS -DNETINET6 -DTCPWRAPPERS -DMAP_REGEX -I/usr/obj/usr/src/i386/usr/include -o sendmail alias.o arpadate.o bf_torek.o clock.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o mci.o milter.o mime.o parseaddr.o queue.o readcf.o recipient.o savemail.o sfsasl.o shmticklib.o srvrsmtp.o stab.o stats.o sysexits.o timers.o trace.o udb.o usersmtp.o util.o version.o -lsasl -lutil -lwrap /usr/obj/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a /usr/obj/usr/src/i386/usr/libexec/elf/ld: cannot find -lsasl *** Error code 1 ***************************************************************************** Gregory, You idea works ok only provided the following change is made to /usr/src/usr.sbin/sendmail/Makefile: LDADD+= -lutil -lwrap instead of LDADD= -lutil -lwrap Could you please commit this change to stable? Sergei At 21:30 11.09.00 -0700, you wrote: >svysh> Is it possible to link sasl support into sendmail during buildworld >svysh> on FreeBSD-4.1-STABLE with CYRUS-SASL port installed in advance? > >svysh> site.config.m4 approach seems not applicable here? > >You could do something like this (untested, unsupported) in /etc/make.conf: > ># Make MD5 version of libskey >.if ${.CURDIR} == "/usr/src/usr.sbin/sendmail" >CFLAGS+=-DSASL -I/usr/local/include/sasl >LDADD+=-lsasl >.endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message