Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2017 09:16:11 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Freebsd 10 to 11 sendmail compile issues..
Message-ID:  <20171022.091611.1432980156690916756.yasu@utahime.org>
In-Reply-To: <7a4b5f15-1bab-9ab4-1ecf-8ffbf8546758@leadmon.net>
References:  <7a4b5f15-1bab-9ab4-1ecf-8ffbf8546758@leadmon.net>

index | next in thread | previous in thread | raw e-mail

From: Howard Leadmon <howard@leadmon.net>
Subject: Freebsd 10 to 11 sendmail compile issues..
Date: Sat, 21 Oct 2017 19:22:40 -0400

> I have the following flags in /etc/make.conf:
> 
> SENDMAIL_CFLAGS= -I/usr/local/include -DSASL=2 -DDNSMAP -DSTARTTLS
> SENDMAIL_LDFLAGS= -L/usr/local/lib
> SENDMAIL_LDADD= -lsasl2 -lssl -lcrypto
> 
> 
>  So I trhought OK, simple enough looking at the error and changed this
> over to the following:
> 
> SENDMAIL_CFLAGS= -I/usr/local/include -DSASL=2 -DDNSMAP -DSTARTTLS
> SENDMAIL_LDFLAGS= -L/usr/local/lib
> SENDMAIL_LIBADD+= sasl2 ssl crypto

It seems you intend to link base sendmail binary with library that is
installed by security/cyrus-sasl2 port. If so I think following steps
are required.

1. Temporarily comment out all sendmail related settings in
   /etc/make.conf
2. Rebuild operating system and upgrade from 10.3 to 11.1.
3. Rebuild all installed ports on 11.1.
4. Enable settings again that is disabled at step 1 and rebuild base
   sendmail.

To be honest I'm not sure if step 4 succeed. But it is quite possible
that linking binary for 11.1 with library built on 10.3 causes
unpredictable trouble. So you should keep above steps anyway.

---
Yasuhiro KIMURA


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171022.091611.1432980156690916756.yasu>