From: Howard Leadmon <how...@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
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to