postfix linking with wrong version of openssl
Matthew Seaman
matthew at FreeBSD.org
Fri Jan 17 18:38:44 UTC 2020
On 17/01/2020 18:19, Jerry wrote:
> Rhis doesn't make aqny sense to me, so I am hoping someone can explain
> it.
>
> If I build "mail/postfix-current-sasl" it links with "OpenSSL 1.1.1d"
> which I have installed from ports. However, if I build it using
> 'poudriere', it links with the base version of openssl, "OpenSSL
> 1.0.2s-freebsd ".
>
> The path, which I verified, is set as:
>
> PATH=/sbin:/bin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/sbin
>
> which openssl
> /usr/local/bin/openssl
>
> What am I doing wrong? Is there a setting in poudriere that I am over
> looking?
>
Yeah. You want to use DEFAULT_VERSIONS in
/usr/local/etc/poudriere.d/make.conf --
DEFAULT_VERSIONS += ssl=openssl
will cause all your pkgs to be linked against the security/openssl port, or
DEFAULT_VERSIONS += ssl=base
will use the base version of openssl. See
/usr/ports/Mk/bsd.default-versions.mk for more options.
Cheers,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200117/787b4ced/attachment.sig>
More information about the freebsd-questions
mailing list